org.exolab.jms.net.tunnel
Class TunnelServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--org.exolab.jms.net.tunnel.TunnelServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class TunnelServlet
extends javax.servlet.http.HttpServlet

HTTP Tunnel servlet.

Version:
$Revision: 1.3 $ $Date: 2007/03/10 12:42:13 $
Author:
Tim Anderson
See Also:
Serialized Form

Constructor Summary
TunnelServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle a GET request.
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle a POST request.
 void init()
          Initialise the servlet.
 
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

TunnelServlet

public TunnelServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Initialise the servlet.
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException - if the servlet can't be initialised

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws java.io.IOException
Handle a GET request. This method always sets the response code to HttpServletResponse.SC_BAD_REQUEST.
Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
request - the client request
response - the response to the request
Throws:
java.io.IOException - for any I/O error

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws java.io.IOException
Handle a POST request.
Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
request - the client request
response - the response to the request
Throws:
java.io.IOException - for any I/O error


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.