org.apache.axis.transport.http
Class AxisServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--org.apache.axis.transport.http.AxisServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AxisServlet
extends javax.servlet.http.HttpServlet

Author:
Doug Davis (dug@us.ibm.com)
See Also:
Serialized Form

Field Summary
static java.lang.String INIT_PROPERTY_ENABLE_LIST
           
static java.lang.String INIT_PROPERTY_JWS_CLASS_DIR
           
static java.lang.String INIT_PROPERTY_TRANSPORT_NAME
           
static java.lang.String INIT_PROPERTY_USE_SECURITY
           
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
AxisServlet()
           
 
Method Summary
 void destroy()
          Destroy method is called when the servlet is going away.
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
protected  java.lang.String getDefaultJWSClassDir()
          Provided to allow overload of default JWSClassDir by derived class.
 AxisServer getEngine()
           
static AxisServer getEngine(javax.servlet.http.HttpServlet servlet)
          This is a uniform method of initializing AxisServer in a servlet context.
protected  java.lang.String getHomeDir()
           
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.
protected  java.lang.String getWebInfPath()
           
 void init()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AxisServlet

public AxisServlet()
Method Detail

getWebInfPath

protected java.lang.String getWebInfPath()

getJWSClassDir

protected java.lang.String getJWSClassDir()

getHomeDir

protected java.lang.String getHomeDir()

init

public void init()
Overrides:
init in class javax.servlet.GenericServlet

destroy

public void destroy()
Destroy method is called when the servlet is going away. Pass this down to the AxisEngine to let it clean up... But don't create the engine if it hasn't already been created.
Overrides:
destroy in class javax.servlet.GenericServlet

getEngine

public AxisServer getEngine()
                     throws AxisFault

getEngine

public static AxisServer getEngine(javax.servlet.http.HttpServlet servlet)
                            throws AxisFault
This is a uniform method of initializing AxisServer in a servlet context.

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet

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.