com.boylesoftware.cb2.bcmproviders.http
Class ReceiverServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.boylesoftware.cb2.bcmproviders.http.ReceiverServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public final class ReceiverServlet
- extends javax.servlet.http.HttpServlet
The reciever servlet for HttpBCMProvider
BCM provider
implementation. This servlet must be deployed on every member of the
cluster if you use HttpBCMProvider
for broadcast messaging.
Note, that this servlet must be loaded after the main
Struts controller servlet.
This class logs messages under "com.boylesoftware.cb2.HTPRCV"
channel.
- Version:
- $Id: ReceiverServlet.java,v 1.4 2004/04/08 18:32:23 levahim Exp $
- Author:
- Lev Himmelfarb
- See Also:
HttpBCMProvider
,
Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle a GET request. |
void |
init()
Initialize the servlet. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, 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 |
ReceiverServlet
public ReceiverServlet()
init
public void init()
throws javax.servlet.UnavailableException
- Initialize the servlet.
- Throws:
javax.servlet.UnavailableException
- if the servlet could not be initialized
and was not deployed.
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Handle a
GET
request.
- Parameters:
request
- the HTTP request.response
- the HTTP response.
- Throws:
javax.servlet.ServletException
- if an unexpected error happens.
java.io.IOException
- if an input/output error happens.
Copyright © 2002,2003,2004 - Boyle Software, Inc.