org.apache.axis.transport.http
Class AxisServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.apache.axis.transport.http.AxisServletBase
|
+--org.apache.axis.transport.http.AxisServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class AxisServlet
- extends AxisServletBase
- Author:
- Doug Davis (dug@us.ibm.com)
- See Also:
- Serialized Form
Constructor Summary |
AxisServlet()
create a new servlet instance |
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Process GET requests. |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Process a POST to the servlet by handing it off to the Axis Engine. |
protected java.lang.String |
getDefaultJWSClassDir()
Provided to allow overload of default JWSClassDir
by derived class. |
protected int |
getHttpServletResponseStatus(AxisFault af)
Extract information from AxisFault and map it to a HTTP Status code. |
protected java.lang.String |
getJWSClassDir()
|
protected java.lang.String |
getProtocolVersion(javax.servlet.http.HttpServletRequest req)
Return the HTTP protocol level 1.1 or 1.0
by derived class. |
void |
init()
Initialization method. |
Methods inherited from class org.apache.axis.transport.http.AxisServletBase |
decLockCounter, destroy, getEngine, getEngine, getHomeDir, getLoadCounter, getOption, getServletContext, getWebappBase, getWebInfPath, incLockCounter, isProduction, service |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, 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 static org.apache.commons.logging.Log log
INIT_PROPERTY_TRANSPORT_NAME
public static final java.lang.String INIT_PROPERTY_TRANSPORT_NAME
INIT_PROPERTY_USE_SECURITY
public static final java.lang.String INIT_PROPERTY_USE_SECURITY
INIT_PROPERTY_ENABLE_LIST
public static final java.lang.String INIT_PROPERTY_ENABLE_LIST
INIT_PROPERTY_JWS_CLASS_DIR
public static final java.lang.String INIT_PROPERTY_JWS_CLASS_DIR
AxisServlet
public AxisServlet()
- create a new servlet instance
getJWSClassDir
protected java.lang.String getJWSClassDir()
init
public void init()
- Initialization method.
- Overrides:
init
in class AxisServletBase
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Process GET requests. Because Axis does not support the GET-style
pseudo execution of SOAP methods, this handler deals with queries
of various kinds, not real SOAP actions.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
req
- res
- - Throws:
javax.servlet.ServletException
- java.io.IOException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Process a POST to the servlet by handing it off to the Axis Engine.
Here is where SOAP messages are received
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Parameters:
req
- posted requestres
- respose- Throws:
javax.servlet.ServletException
- troublejava.io.IOException
- different trouble
getHttpServletResponseStatus
protected int getHttpServletResponseStatus(AxisFault af)
- Extract information from AxisFault and map it to a HTTP Status code.
- Parameters:
af
- Axis Fault- Returns:
- HTTP Status code.
getDefaultJWSClassDir
protected java.lang.String getDefaultJWSClassDir()
- Provided to allow overload of default JWSClassDir
by derived class.
getProtocolVersion
protected java.lang.String getProtocolVersion(javax.servlet.http.HttpServletRequest req)
- Return the HTTP protocol level 1.1 or 1.0
by derived class.
Copyright © 2002 Apache XML Project. All Rights Reserved.