org.jboss.soa.esb.listeners.gateway
Class HttpDispatchServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.jboss.soa.esb.listeners.gateway.HttpDispatchServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

Deprecated.

public class HttpDispatchServlet
extends javax.servlet.http.HttpServlet

This class is for dispatching the http request to ESB action process pipe line.By default, this servlet will be used to set to default servlet mapping in the created StandardContext. This class will also return the esb error message and error stack trace to client

Author:
Jim Ma
See Also:
Serialized Form

Field Summary
 UncomposedMessageDeliveryAdapter messageDeliveryAdapter
          Deprecated. ESB message delivery adapter
 
Constructor Summary
HttpDispatchServlet()
          Deprecated.  
 
Method Summary
protected  void doDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated.  
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated.  
protected  void doOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          Deprecated.  
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated.  
protected  void doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated.  
 void init()
          Deprecated. Initilize method
protected  void serveRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated. Service method to process the inboud servlet request and reply the http servlet response
 
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, 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

messageDeliveryAdapter

public transient UncomposedMessageDeliveryAdapter messageDeliveryAdapter
Deprecated. 
ESB message delivery adapter

Constructor Detail

HttpDispatchServlet

public HttpDispatchServlet()
Deprecated. 
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Deprecated. 
Initilize method

Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException - If error occured

serveRequest

protected void serveRequest(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws javax.servlet.ServletException,
                            java.io.IOException
Deprecated. 
Service method to process the inboud servlet request and reply the http servlet response

Parameters:
request - HttpServlet request
response - HttpServlet response
content -
Throws:
javax.servlet.ServletException - For error occured during process
java.io.IOException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Deprecated. 
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException
Deprecated. 
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doPut

protected void doPut(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Deprecated. 
Overrides:
doPut in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doDelete

protected void doDelete(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws javax.servlet.ServletException,
                        java.io.IOException
Deprecated. 
Overrides:
doDelete in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doOptions

protected void doOptions(javax.servlet.http.HttpServletRequest req,
                         javax.servlet.http.HttpServletResponse resp)
                  throws javax.servlet.ServletException,
                         java.io.IOException
Deprecated. 
Overrides:
doOptions in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException