xsul.msg_box.servlet
Class MsgBoxServlet

java.lang.Object
  extended byxsul.http_server.HttpMiniServlet
      extended byxsul.msg_box.servlet.MsgBoxServlet

public class MsgBoxServlet
extends HttpMiniServlet

This servlet takes incoming message to some location and executes operation on MsgBoxStorage. In some sense it is META service or partial service - it work under level of typical service.


Constructor Summary
MsgBoxServlet(MsgBoxStorage msgBoxStorage)
          Create a servlet that uses specified storage.
 
Method Summary
 void service(HttpServerRequest req, HttpServerResponse resp)
          Process HTTP request.
 void setLocation(java.net.URI location)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsgBoxServlet

public MsgBoxServlet(MsgBoxStorage msgBoxStorage)
Create a servlet that uses specified storage.

Parameters:
msgBoxStorage - storage implementation to use
Method Detail

setLocation

public void setLocation(java.net.URI location)

service

public void service(HttpServerRequest req,
                    HttpServerResponse resp)
             throws HttpServerException
Process HTTP request.

Specified by:
service in class HttpMiniServlet
Throws:
HttpServerException


IU Extreme! Lab (http://www.extreme.indiana.edu)