org.jboss.webservice.server
Class AbstractServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jboss.axis.transport.http.AxisServletBase
org.jboss.axis.transport.http.AxisServlet
org.jboss.webservice.server.AbstractServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- ContextServlet, ServiceEndpointServlet
public abstract class AbstractServlet
- extends org.jboss.axis.transport.http.AxisServlet
The servlet that that is associated with context /ws4ee
It manages the 'Version' service
- Since:
- 09-Feb-2005
- Author:
- Thomas.Diesler@jboss.org
- See Also:
- Serialized Form
Field Summary |
protected org.jboss.logging.Logger |
log
|
Fields inherited from class org.jboss.axis.transport.http.AxisServlet |
INIT_PROPERTY_ENABLE_LIST, INIT_PROPERTY_JWS_CLASS_DIR, INIT_PROPERTY_TRANSPORT_NAME, INIT_PROPERTY_USE_SECURITY |
Fields inherited from class org.jboss.axis.transport.http.AxisServletBase |
ATTR_AXIS_ENGINE, axisServer |
Method Summary |
org.jboss.axis.server.AxisServer |
getEngine()
Get an AxisServer with the EngineConfiguration from the JMX AxisService |
protected String |
getServiceName(javax.servlet.http.HttpServletRequest req)
Get the service name as it is known to Axis
For WS4EE service endpoints it is obtained from the generated init parameter in web.xml |
protected String |
getTransportURL(javax.servlet.http.HttpServletRequest req,
String serviceName)
Get the transport URL
For JSE service endpoints
e.g. |
protected void |
processWsdlRequest(org.jboss.axis.MessageContext msgContext,
javax.servlet.http.HttpServletResponse res,
PrintWriter writer)
Handle a wsdl request |
protected void |
reportAvailableServices(javax.servlet.http.HttpServletResponse res,
PrintWriter writer,
javax.servlet.http.HttpServletRequest req)
This method lists the available services; it is called when there is
nothing to execute on a GET |
protected void |
setupHTMLResponseHeader(javax.servlet.http.HttpServletResponse res,
PrintWriter writer)
|
Methods inherited from class org.jboss.axis.transport.http.AxisServlet |
createMessageContext, doGet, doPost, getDefaultJWSClassDir, getHttpServletResponseStatus, getJWSClassDir, getProtocolVersion, init, invokeEndpointFromGet, logException, processAxisFault, processMethodRequest, reportCantGetAxisService, reportCantGetJWSService, reportNoWSDL, reportServiceInfo, reportTrouble |
Methods inherited from class org.jboss.axis.transport.http.AxisServletBase |
decLockCounter, destroy, getEngine, getEngineEnvironment, getHomeDir, getLoadCounter, getOption, getServletContext, getWebappBase, getWebInfPath, incLockCounter, isDevelopment, service |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.jboss.logging.Logger log
AbstractServlet
public AbstractServlet()
getTransportURL
protected String getTransportURL(javax.servlet.http.HttpServletRequest req,
String serviceName)
- Get the transport URL
For JSE service endpoints
e.g. http://localhost:8080/whatever-url-mapping
setupHTMLResponseHeader
protected void setupHTMLResponseHeader(javax.servlet.http.HttpServletResponse res,
PrintWriter writer)
- Overrides:
setupHTMLResponseHeader
in class org.jboss.axis.transport.http.AxisServlet
reportAvailableServices
protected void reportAvailableServices(javax.servlet.http.HttpServletResponse res,
PrintWriter writer,
javax.servlet.http.HttpServletRequest req)
throws org.jboss.axis.ConfigurationException,
org.jboss.axis.AxisFault
- This method lists the available services; it is called when there is
nothing to execute on a GET
- Overrides:
reportAvailableServices
in class org.jboss.axis.transport.http.AxisServlet
- Throws:
org.jboss.axis.ConfigurationException
org.jboss.axis.AxisFault
processWsdlRequest
protected void processWsdlRequest(org.jboss.axis.MessageContext msgContext,
javax.servlet.http.HttpServletResponse res,
PrintWriter writer)
throws org.jboss.axis.AxisFault
- Handle a wsdl request
- Overrides:
processWsdlRequest
in class org.jboss.axis.transport.http.AxisServlet
- Throws:
org.jboss.axis.AxisFault
getEngine
public org.jboss.axis.server.AxisServer getEngine()
throws org.jboss.axis.AxisFault
- Get an AxisServer with the EngineConfiguration from the JMX AxisService
- Overrides:
getEngine
in class org.jboss.axis.transport.http.AxisServletBase
- Throws:
org.jboss.axis.AxisFault
getServiceName
protected String getServiceName(javax.servlet.http.HttpServletRequest req)
- Get the service name as it is known to Axis
For WS4EE service endpoints it is obtained from the generated init parameter in web.xml
- Overrides:
getServiceName
in class org.jboss.axis.transport.http.AxisServlet
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.