org.jboss.webservice.server
Class ContextServlet
java.lang.Object
HttpServlet
org.jboss.axis.transport.http.AxisServletBase (src)
org.jboss.axis.transport.http.AxisServlet (src)
org.jboss.webservice.server.AbstractServlet (src)
org.jboss.webservice.server.ContextServlet
- public class ContextServlet
- extends AbstractServlet (src)
The servlet that that is associated with context /ws4ee
It manages the service list and the 'Version' service
- Since:
- 09-Feb-2005
- See Also:
- Serialized Form
Method Summary |
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Process GET requests. |
void |
doPost(HttpServletRequest req,
HttpServletResponse res)
Reject POST requests to '/ws4ee/services/someService' |
protected java.lang.String |
getServiceName(HttpServletRequest req)
Get the service name as it is known to Axis
For JSE service endpoints it is obtained from the generated init parameter in web.xml |
Methods inherited from class org.jboss.axis.transport.http.AxisServlet (src) |
createMessageContext, getDefaultJWSClassDir, getHttpServletResponseStatus, getJWSClassDir, getProtocolVersion, init, invokeEndpointFromGet, logException, processAxisFault, processMethodRequest, reportCantGetAxisService, reportCantGetJWSService, reportNoWSDL, reportServiceInfo, reportTrouble |
Methods inherited from class org.jboss.axis.transport.http.AxisServletBase (src) |
decLockCounter, destroy, getEngine, getEngineEnvironment, getHomeDir, getLoadCounter, getOption, getServletContext, getWebappBase, getWebInfPath, incLockCounter, isDevelopment, service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final Logger (src) log
ContextServlet
public ContextServlet()
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
- Reject POST requests to '/ws4ee/services/someService'
- Overrides:
doPost
in class AxisServlet (src)
- Parameters:
req
- posted requestres
- respose
- Throws:
java.io.IOException
- different trouble
ServletException
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
- Process GET requests.
- Overrides:
doGet
in class AxisServlet (src)
- Parameters:
req
- request inres
- request out
- Throws:
java.io.IOException
ServletException
getServiceName
protected java.lang.String getServiceName(HttpServletRequest req)
- Get the service name as it is known to Axis
For JSE service endpoints it is obtained from the generated init parameter in web.xml
- Overrides:
getServiceName
in class AxisServlet (src)