public class AxisServletHooks
extends org.apache.axis2.transport.http.AxisServlet
Modifier and Type | Field and Description |
---|---|
protected org.apache.axis2.description.AxisOperation |
axisOperation |
protected org.apache.axis2.description.AxisService |
axisService |
protected org.apache.axis2.context.MessageContext |
messageContext |
protected org.apache.axis2.context.OperationContext |
operationContext |
protected org.apache.axis2.context.ServiceContext |
serviceContext |
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.
|
createMessageContext, destroy, doDelete, doGet, doPost, doPut, getEPRForService, getEPRsForService, getSessionContext, getTransportHeaders, handleFault, init, init, init, initConfigContext, initContextRoot, initParams, showRestDisabledErrorMessage, start, stop
doHead, doOptions, doTrace, getLastModified, service, service
protected org.apache.axis2.description.AxisService axisService
protected org.apache.axis2.description.AxisOperation axisOperation
protected org.apache.axis2.context.OperationContext operationContext
protected org.apache.axis2.context.ServiceContext serviceContext
protected org.apache.axis2.context.MessageContext messageContext
public 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.ServletException
public 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.AxisServlet
IOException
public 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.ServletException
IOException
public 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.ServletException
IOException
public 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.ServletException
IOException
public 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
- Copyright © 2021 Hitachi Vantara. All rights reserved.