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:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
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 |
|
Constructor Summary |
SoapServlet(org.apache.axis2.context.ConfigurationContext configContext,
ServerStats stats,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolAllocatedThreads,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolIdleThreads,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolQueuedRequests,
org.ow2.petals.probes.KeyedCounterProbeWithExecutionStatus<IncomingServiceKey> probeHttpRequestsInvocationsCount,
org.ow2.petals.probes.KeyedResponseTimeProbe<IncomingServiceKey> probeHttpRequestsInvocationsResponseTime,
Logger logger)
Creates a new instance of SoapServlet |
|
Method Summary |
protected org.apache.axis2.context.MessageContext |
createMessageContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
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, destroy, doDelete, doPut, getTransportHeaders, handleFault, init, init, initContextRoot, initParams, showRestDisabledErrorMessage |
| 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,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolAllocatedThreads,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolIdleThreads,
org.ow2.petals.probes.GaugeProbe<Integer,Integer> probeHttpServerThreadPoolQueuedRequests,
org.ow2.petals.probes.KeyedCounterProbeWithExecutionStatus<IncomingServiceKey> probeHttpRequestsInvocationsCount,
org.ow2.petals.probes.KeyedResponseTimeProbe<IncomingServiceKey> probeHttpRequestsInvocationsResponseTime,
Logger logger)
- Creates a new instance of SoapServlet
- Parameters:
configContext - stats - probeHttpServerThreadPoolAllocatedThreads - The probe counting allocated threads in the thread pool of the
HTTP server.probeHttpServerThreadPoolIdleThreads - The probe counting idle threads in the thread pool of the HTTP
server.probeHttpServerThreadPoolQueuedRequests - The probe counting requests in the queue of the thread pool of
the HTTP server.probeHttpRequestsInvocationsCount - The probe counting service invocation by web-service,
web-service client and execution status, received by the Jetty
server.probeHttpRequestsInvocationsResponseTime - The probe measuring the response time of service invocation by
web-service, web-service client and execution status, received
by the Jetty server.logger - The component logger
createMessageContext
protected org.apache.axis2.context.MessageContext createMessageContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Overrides:
createMessageContext in class org.apache.axis2.transport.http.AxisServlet
- Throws:
IOException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doGet in class org.apache.axis2.transport.http.AxisServlet
- Throws:
javax.servlet.ServletException
IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost in class org.apache.axis2.transport.http.AxisServlet
- Throws:
javax.servlet.ServletException
IOException
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
Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.