|
||||||||||
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
no.feide.moria.servlet.soap.SimpleAxisServlet
public final class SimpleAxisServlet
Field Summary | |
---|---|
private no.feide.moria.log.MessageLogger |
messageLogger
Logger for this class. |
private static long |
serialVersionUID
Serial version UID. |
Fields inherited from class org.apache.axis.transport.http.AxisServlet |
---|
INIT_PROPERTY_DISABLE_SERVICES_LIST, INIT_PROPERTY_ENABLE_LIST, INIT_PROPERTY_JWS_CLASS_DIR, INIT_PROPERTY_SERVICES_PATH, INIT_PROPERTY_TRANSPORT_NAME, INIT_PROPERTY_USE_SECURITY, log |
Fields inherited from class org.apache.axis.transport.http.AxisServletBase |
---|
ATTR_AXIS_ENGINE, axisServer |
Constructor Summary | |
---|---|
SimpleAxisServlet()
Default constructor. |
Method Summary | |
---|---|
private org.apache.axis.MessageContext |
createMessageContext(org.apache.axis.AxisEngine axisEngine,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a new MessageContext, initialized with some standard values. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles HTTP GET requests. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles HTTP POST requests. |
private void |
handleException(java.lang.String message,
java.lang.Exception exception,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Logs exception with message and prints user friendly error message to client. |
void |
init()
Initializes the servlet. |
Methods inherited from class org.apache.axis.transport.http.AxisServlet |
---|
getDefaultJWSClassDir, getHttpServletResponseStatus, getJWSClassDir, initQueryStringHandlers, logException, processAxisFault, reportAvailableServices, reportCantGetAxisService, reportCantGetJWSService, reportNoWSDL, reportServiceInfo |
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 |
---|
private static final long serialVersionUID
private no.feide.moria.log.MessageLogger messageLogger
Constructor Detail |
---|
public SimpleAxisServlet()
Method Detail |
---|
public void init() throws javax.servlet.ServletException
init
in class org.apache.axis.transport.http.AxisServlet
javax.servlet.ServletException
- If unable to initialize the servlet.public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
doGet
in class org.apache.axis.transport.http.AxisServlet
request
- The incoming HTTP request object.response
- The outgoing HTTP reponse object.public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
doPost
in class org.apache.axis.transport.http.AxisServlet
request
- The incoming HTTP request object.response
- The outgoing HTTP response object.private org.apache.axis.MessageContext createMessageContext(org.apache.axis.AxisEngine axisEngine, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
axisEngine
- The AxisEngine that will be used to handle SOAP operations.request
- The incoming request.response
- The outgoing response.
private void handleException(java.lang.String message, java.lang.Exception exception, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
message
- Message to be logged with the exception.exception
- The exception to be handled.request
- Request object for this invocation.response
- Response object for this invocation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |