public class SimpleBcTestServlet
extends javax.servlet.http.HttpServlet
This provides a simple EventWeb servlet for verifying Backchannel operation.
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
DEP_LIST
Class dependencies
|
static java.lang.String |
VERSION
Class version
|
Constructor and Description |
---|
SimpleBcTestServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Clean up before unloading the servlet.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest rqst,
javax.servlet.http.HttpServletResponse resp)
Handle a GET request.
|
java.lang.String |
getServletInfo()
Get information about the servlet.
|
void |
init(javax.servlet.ServletConfig config)
Initialize the servlet.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
config
- Servlet configuration objectjavax.servlet.ServletException
public java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
protected void doGet(javax.servlet.http.HttpServletRequest rqst, javax.servlet.http.HttpServletResponse resp) throws java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
rqst
- The request from the clientresp
- The response to the clientjava.io.IOException