org.exolab.jms.client.http.servlet
Class HttpJmsClientServlet

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

public class HttpJmsClientServlet
extends javax.servlet.http.HttpServlet

This servlet forwards messages from the OpenJMS server to clients

Version:
$Revision: 1.7 $ $Date: 2003/08/30 08:00:53 $
Author:
Jim Mourikis, Tim Anderson
See Also:
Serialized Form

Constructor Summary
HttpJmsClientServlet()
           
 
Method Summary
 void destroy()
          Clean up client connections
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle HTTP POST requests
 void init()
          Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, 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
 

Constructor Detail

HttpJmsClientServlet

public HttpJmsClientServlet()
Method Detail

init

public void init()
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
Overrides:
init in class javax.servlet.GenericServlet

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException
Handle HTTP POST requests
Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
request - contains the request the client has made of the servlet
response - contains the response the servlet sends to the client
Throws:
java.io.IOException - if an I/O error is encountered

destroy

public void destroy()
Clean up client connections
Overrides:
destroy in class javax.servlet.GenericServlet


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