org.codehaus.activemq.transport.http
Class HttpTunnelServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.codehaus.activemq.transport.http.HttpTunnelServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class HttpTunnelServlet
extends HttpServlet

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Constructor Summary
HttpTunnelServlet()
           
 
Method Summary
protected  HttpServerTransportChannel createTransportChannel()
           
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
           
protected  HttpServerTransportChannel getTransportChannel(HttpServletRequest request)
           
 void init()
           
protected  void keepAlivePing(HttpServerTransportChannel channel)
          Disable this channel from being auto-disconnected after a timeout period
protected  String readRequestBody(HttpServletRequest request)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, 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
 

Constructor Detail

HttpTunnelServlet

public HttpTunnelServlet()
Method Detail

init

public void init()
          throws ServletException
Throws:
ServletException

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Throws:
ServletException
IOException

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
Throws:
ServletException
IOException

readRequestBody

protected String readRequestBody(HttpServletRequest request)
                          throws IOException
Throws:
IOException

getTransportChannel

protected HttpServerTransportChannel getTransportChannel(HttpServletRequest request)

keepAlivePing

protected void keepAlivePing(HttpServerTransportChannel channel)
Disable this channel from being auto-disconnected after a timeout period


createTransportChannel

protected HttpServerTransportChannel createTransportChannel()


Copyright © 2004 Protique, Ltd.. All Rights Reserved.