|
||||||||||
| 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.axis2.transport.http.AxisServlet
org.pentaho.platform.plugin.services.webservices.AxisServletHooks
public class AxisServletHooks
This class subclasses AxisServlet to expose protected methods and variables
| Field Summary |
|---|
| Fields inherited from class org.apache.axis2.transport.http.AxisServlet |
|---|
CONFIGURATION_CONTEXT, SESSION_ID |
| Fields inherited from interface org.apache.axis2.transport.TransportListener |
|---|
HOST_ADDRESS, PARAM_PORT |
| Constructor Summary | |
|---|---|
AxisServletHooks()
|
|
| Method Summary | |
|---|---|
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(java.lang.String httpMethodString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle and HTTP GET request |
void |
handlePost(java.lang.String httpMethodString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle and HTTP POST request |
void |
handlePut(java.lang.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. |
| Methods inherited from class org.apache.axis2.transport.http.AxisServlet |
|---|
destroy, getEPRForService, getEPRsForService, getSessionContext, init, init, init, initContextRoot, start, stop |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AxisServletHooks()
| Method Detail |
|---|
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 java.io.IOException
createMessageContext in class org.apache.axis2.transport.http.AxisServletjava.io.IOException
public void handlePut(java.lang.String httpMethodString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
httpMethodString - "PUT"request - HTTP requestresponse - HTTP response
javax.servlet.ServletException
java.io.IOException
public void handleGet(java.lang.String httpMethodString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
httpMethodString - "GET"request - HTTP requestresponse - HTTP response
javax.servlet.ServletException
java.io.IOException
public void handlePost(java.lang.String httpMethodString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
httpMethodString - "POST"request - HTTP requestresponse - HTTP response
javax.servlet.ServletException
java.io.IOExceptionpublic 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||