public class AxisServletHooks
extends org.apache.axis2.transport.http.AxisServlet
| Constructor and Description |
|---|
AxisServletHooks() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.axis2.context.MessageContext |
createMessageContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean invocationType)
Creates an Axis message context object for this request.
|
org.apache.axis2.context.MessageContext |
getMessageContext()
Returns the current Axis MessageContext object.
|
void |
handleGet(String httpMethodString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle and HTTP GET request
|
void |
handlePost(String httpMethodString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle and HTTP POST request
|
void |
handlePut(String httpMethodString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle and HTTP PUT request
|
void |
setAxisOperation(org.apache.axis2.description.AxisOperation axisOperation)
Sets the Axis opertation for the current request
|
void |
setAxisService(org.apache.axis2.description.AxisService axisService)
Sets the Axis service object for this request
|
void |
setConfiguration(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
Sets the Axis configuration object
|
void |
setContext(org.apache.axis2.context.ConfigurationContext configContext)
Sets the Axis configuration context object
|
void |
setOperationContext(org.apache.axis2.context.OperationContext operationContext)
Sets the Axis operation context for the current request
|
void |
setServiceContext(org.apache.axis2.context.ServiceContext serviceContext)
Sets the Axis service context for this request
|
void |
setServletConfig(javax.servlet.ServletConfig servletConfig)
Sets the servlet config object.
|
destroy, getEPRForService, getEPRsForService, getSessionContext, init, init, init, initContextRoot, start, stoppublic org.apache.axis2.context.MessageContext getMessageContext()
public void setContext(org.apache.axis2.context.ConfigurationContext configContext)
configContext - public void setConfiguration(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
axisConfiguration - public void setServiceContext(org.apache.axis2.context.ServiceContext serviceContext)
serviceContext - public void setServletConfig(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
servletConfig - javax.servlet.ServletExceptionpublic org.apache.axis2.context.MessageContext createMessageContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean invocationType)
throws IOException
createMessageContext in class org.apache.axis2.transport.http.AxisServletIOExceptionpublic void handlePut(String httpMethodString, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
httpMethodString - "PUT"request - HTTP requestresponse - HTTP responsejavax.servlet.ServletExceptionIOExceptionpublic void handleGet(String httpMethodString, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
httpMethodString - "GET"request - HTTP requestresponse - HTTP responsejavax.servlet.ServletExceptionIOExceptionpublic void handlePost(String httpMethodString, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
httpMethodString - "POST"request - HTTP requestresponse - HTTP responsejavax.servlet.ServletExceptionIOExceptionpublic void setAxisService(org.apache.axis2.description.AxisService axisService)
axisService - public void setAxisOperation(org.apache.axis2.description.AxisOperation axisOperation)
axisOperation - public void setOperationContext(org.apache.axis2.context.OperationContext operationContext)
operationContext -