|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.axis.transport.http.AxisServletBase
org.apache.axis.transport.http.AxisServlet
public class AxisServlet
| Field Summary | |
|---|---|
static String |
INIT_PROPERTY_DISABLE_SERVICES_LIST
|
static String |
INIT_PROPERTY_ENABLE_LIST
|
static String |
INIT_PROPERTY_JWS_CLASS_DIR
|
static String |
INIT_PROPERTY_SERVICES_PATH
|
static String |
INIT_PROPERTY_TRANSPORT_NAME
|
static String |
INIT_PROPERTY_USE_SECURITY
|
protected static org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.apache.axis.transport.http.AxisServletBase |
|---|
ATTR_AXIS_ENGINE, axisServer |
| Constructor Summary | |
|---|---|
AxisServlet()
create a new servlet instance |
|
| Method Summary | |
|---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Process GET requests. |
void |
doPost(HttpServletRequest req,
HttpServletResponse res)
Process a POST to the servlet by handing it off to the Axis Engine. |
protected String |
getDefaultJWSClassDir()
Provided to allow overload of default JWSClassDir by derived class. |
protected int |
getHttpServletResponseStatus(AxisFault af)
Extract information from AxisFault and map it to a HTTP Status code. |
protected String |
getJWSClassDir()
|
void |
init()
Initialization method. |
void |
initQueryStringHandlers()
Initialize a Handler for the transport defined in the Axis server config. |
protected void |
logException(Throwable e)
log any exception to our output log, at our chosen level |
protected void |
processAxisFault(AxisFault fault)
routine called whenever an axis fault is caught; where they are logged and any other business. |
protected void |
reportAvailableServices(HttpServletResponse response,
PrintWriter writer,
HttpServletRequest request)
This method lists the available services; it is called when there is nothing to execute on a GET |
protected void |
reportCantGetAxisService(HttpServletRequest request,
HttpServletResponse response,
PrintWriter writer)
generate the error response to indicate that there is apparently no endpoint there |
protected void |
reportCantGetJWSService(HttpServletRequest request,
HttpServletResponse response,
PrintWriter writer)
probe for a JWS page and report 'no service' if one is not found there |
protected void |
reportNoWSDL(HttpServletResponse res,
PrintWriter writer,
String moreDetailCode,
AxisFault axisFault)
report that we have no WSDL This method was moved to the querystring handler QSWSDLHandler. |
protected void |
reportServiceInfo(HttpServletResponse response,
PrintWriter writer,
SOAPService service,
String serviceName)
print a snippet of service info. |
| Methods inherited from class org.apache.axis.transport.http.AxisServletBase |
|---|
decLockCounter, destroy, getEngine, getEngine, getEngineEnvironment, getHomeDir, getLoadCounter, getOption, getServletContext, getWebappBase, getWebInfPath, incLockCounter, isDevelopment, service |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
public static final String INIT_PROPERTY_TRANSPORT_NAME
public static final String INIT_PROPERTY_USE_SECURITY
public static final String INIT_PROPERTY_ENABLE_LIST
public static final String INIT_PROPERTY_JWS_CLASS_DIR
public static final String INIT_PROPERTY_DISABLE_SERVICES_LIST
public static final String INIT_PROPERTY_SERVICES_PATH
| Constructor Detail |
|---|
public AxisServlet()
| Method Detail |
|---|
protected String getJWSClassDir()
public void init()
throws ServletException
init in class AxisServletBaseServletException
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
doGet in class HttpServletrequest - request inresponse - request out
ServletException
IOExceptionprotected void processAxisFault(AxisFault fault)
fault - what went wrong.protected void logException(Throwable e)
e - what went wrong
protected void reportServiceInfo(HttpServletResponse response,
PrintWriter writer,
SOAPService service,
String serviceName)
service - servicewriter - output channelserviceName - where to put stuff
protected void reportNoWSDL(HttpServletResponse res,
PrintWriter writer,
String moreDetailCode,
AxisFault axisFault)
res - writer - moreDetailCode - optional name of a message to provide more detailaxisFault - optional fault string, for extra info at debug time only
protected void reportAvailableServices(HttpServletResponse response,
PrintWriter writer,
HttpServletRequest request)
throws ConfigurationException,
AxisFault
response - writer - request -
ConfigurationException
AxisFault
protected void reportCantGetAxisService(HttpServletRequest request,
HttpServletResponse response,
PrintWriter writer)
request - the request that didnt have an edpointresponse - response we are generatingwriter - open writer for the request
protected void reportCantGetJWSService(HttpServletRequest request,
HttpServletResponse response,
PrintWriter writer)
request - the request that didnt have an edpointresponse - response we are generatingwriter - open writer for the request
public void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
doPost in class HttpServletreq - posted requestres - respose
ServletException - trouble
IOException - different troubleprotected int getHttpServletResponseStatus(AxisFault af)
af - Axis Fault
protected String getDefaultJWSClassDir()
public void initQueryStringHandlers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||