public class SimpleServlet
extends javax.servlet.http.HttpServlet
An example Java MSL servlet that listens for requests from the example
JavaScript MSL client. Once any authorized client issues a quit operation,
this servlet will no longer process additional requests and will instead
return HTTP status code 401. The server must be restarted to re-
enable the servlet.
This class is thread-safe.
| Constructor and Description |
|---|
SimpleServlet()
Create a new servlet instance and initialize its static, immutable
state.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service