xsul.msg_box.servlet
Class MsgBoxServlet
java.lang.Object
xsul.http_server.HttpMiniServlet
xsul.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.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MsgBoxServlet
public MsgBoxServlet(MsgBoxStorage msgBoxStorage)
- Create a servlet that uses specified storage.
- Parameters:
msgBoxStorage - storage implementation to use
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)