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, servicepublic 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.Servletinit in class javax.servlet.GenericServletconfig - Servlet configuration objectjavax.servlet.ServletExceptionpublic java.lang.String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServletpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletprotected void doGet(javax.servlet.http.HttpServletRequest rqst,
javax.servlet.http.HttpServletResponse resp)
throws java.io.IOException
doGet in class javax.servlet.http.HttpServletrqst - The request from the clientresp - The response to the clientjava.io.IOException