org.ow2.petals.binding.soap.listener.incoming.servlet
Class SoapServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.axis2.transport.http.AxisServlet
org.ow2.petals.binding.soap.listener.incoming.servlet.SoapServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.apache.axis2.transport.TransportListener
public class SoapServlet
- extends org.apache.axis2.transport.http.AxisServlet
Special servlet for Jetty server. This servlet extends AxisServlet to
override the initConfigContext method that load a configuration context from
a War file. In the SoapComponent, the configuration context is loaded at
component startup and is passed by Jetty server and this servlet.
- Author:
- Adrien LOUIS - EBMWebSourcing, Christophe Hamerling - EBM WebSourcing
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class org.apache.axis2.transport.http.AxisServlet |
org.apache.axis2.transport.http.AxisServlet.RestRequestProcessor, org.apache.axis2.transport.http.AxisServlet.ServletRequestResponseTransport |
| Fields inherited from class org.apache.axis2.transport.http.AxisServlet |
agent, axisConfiguration, configContext, CONFIGURATION_CONTEXT, contextRoot, disableREST, servletConfig, SESSION_ID |
| Fields inherited from interface org.apache.axis2.transport.TransportListener |
HOST_ADDRESS, PARAM_PORT |
|
Constructor Summary |
SoapServlet(org.apache.axis2.context.ConfigurationContext configContext,
ServerStats stats)
Creates a new instance of SoapServlet |
|
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected org.apache.axis2.context.ConfigurationContext |
initConfigContext(javax.servlet.ServletConfig config)
|
| Methods inherited from class org.apache.axis2.transport.http.AxisServlet |
createMessageContext, createMessageContext, destroy, doDelete, doPut, getEPRForService, getEPRsForService, getSessionContext, getTransportHeaders, handleFault, init, init, init, initContextRoot, initParams, showRestDisabledErrorMessage, start, stop |
| Methods inherited from class javax.servlet.http.HttpServlet |
doHead, doOptions, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyOfconfigContext
protected transient org.apache.axis2.context.ConfigurationContext copyOfconfigContext
SoapServlet
public SoapServlet(org.apache.axis2.context.ConfigurationContext configContext,
ServerStats stats)
- Creates a new instance of SoapServlet
- Parameters:
configContext - stats -
initConfigContext
protected org.apache.axis2.context.ConfigurationContext initConfigContext(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Overrides:
initConfigContext in class org.apache.axis2.transport.http.AxisServlet
- Throws:
javax.servlet.ServletException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet in class org.apache.axis2.transport.http.AxisServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doPost in class org.apache.axis2.transport.http.AxisServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2005-2010 OW2 Consortium. All Rights Reserved.