Save This Page
Home » axis2-1.5-src » org.apache » axis2 » transport » http » [javadoc | source]
org.apache.axis2.transport.http
public class: AxisServlet [javadoc | source]
java.lang.Object
   javax.servlet.GenericServlet
      javax.servlet.http.HttpServlet
         org.apache.axis2.transport.http.AxisServlet

All Implemented Interfaces:
    TransportListener, Serializable, Servlet, ServletConfig

Direct Known Subclasses:
    OSGiAxisServlet, AxisAdminServlet, AxisAdminServlet

Class AxisServlet
Nested Class Summary:
protected class  AxisServlet.ServletRequestResponseTransport   
protected class  AxisServlet.RestRequestProcessor  Ues in processing REST related Requests. This is the helper Class use in processing of doGet, doPut , doDelete and doPost. 
Field Summary
public static final  String CONFIGURATION_CONTEXT     
public static final  String SESSION_ID     
protected transient  ConfigurationContext configContext     
protected transient  AxisConfiguration axisConfiguration     
protected transient  ServletConfig servletConfig     
protected transient  ListingAgent agent     
protected transient  String contextRoot     
protected  boolean disableREST     
Method from org.apache.axis2.transport.http.AxisServlet Summary:
createMessageContext,   createMessageContext,   destroy,   doDelete,   doGet,   doPost,   doPut,   getEPRForService,   getEPRsForService,   getSessionContext,   getTransportHeaders,   handleFault,   init,   init,   init,   initConfigContext,   initContextRoot,   initParams,   showRestDisabledErrorMessage,   start,   stop
Methods from javax.servlet.http.HttpServlet:
service
Methods from javax.servlet.GenericServlet:
destroy,   getInitParameter,   getInitParameterNames,   getServletConfig,   getServletContext,   getServletInfo,   getServletName,   init,   init,   log,   log,   service
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.axis2.transport.http.AxisServlet Detail:
 protected MessageContext createMessageContext(HttpServletRequest req,
    HttpServletResponse resp) throws IOException 
    This method assumes, that the created MessageContext will be used in only SOAP invocation.
 protected MessageContext createMessageContext(HttpServletRequest request,
    HttpServletResponse response,
    boolean invocationType) throws IOException 
 public  void destroy() 
    distroy the ConfigurationContext
 protected  void doDelete(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException 
    Implementation of DELETE interface
 protected  void doGet(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException 
    Implementation for GET interface
 protected  void doPost(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException 
    Implementaion of POST interface
 protected  void doPut(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException 
    Implementation of PUT interface
 public EndpointReference getEPRForService(String serviceName,
    String ip) throws AxisFault 
 public EndpointReference[] getEPRsForService(String serviceName,
    String ip) throws AxisFault 
 public SessionContext getSessionContext(MessageContext messageContext) 
    Transport session management.
 protected Map getTransportHeaders(HttpServletRequest req) 
    Get all transport headers.
 protected  void handleFault(MessageContext msgContext,
    OutputStream out,
    AxisFault e) throws AxisFault 
 public  void init() throws ServletException 
    Convenient method to re-initialize the ConfigurationContext
 public  void init(ServletConfig config) throws ServletException 
    Main init method
 public  void init(ConfigurationContext axisConf,
    TransportInDescription transprtIn) throws AxisFault 
    init(); start() and stop() wouldn't do anything.
 protected ConfigurationContext initConfigContext(ServletConfig config) throws ServletException 
    Initialize the Axis configuration context
 public  void initContextRoot(HttpServletRequest req) 
    Set the context root if it is not set already.
 protected  void initParams() 
    Initializes the Axis2 parameters.
 protected  void showRestDisabledErrorMessage(HttpServletResponse response) throws IOException 
    Private method that deals with disabling of REST support.
 public  void start() throws AxisFault 
 public  void stop() throws AxisFault