public abstract class GenericCometServlet extends GenericServlet implements CometServlet
Constructor and Description |
---|
GenericCometServlet() |
Modifier and Type | Method and Description |
---|---|
boolean |
resume(ServletRequest request,
ServletResponse response,
CometController controller)
Resumes service the initial request.
|
void |
service(ServletRequest request,
ServletResponse response)
Implementation of the servlet's request.
|
abstract boolean |
service(ServletRequest request,
ServletResponse response,
CometController controller)
Services the initial request.
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
destroy, getServletConfig, getServletInfo, init
public abstract boolean service(ServletRequest request, ServletResponse response, CometController controller) throws java.io.IOException, ServletException
service
in interface CometServlet
request
- the servlet request objectresponse
- the servlet response objectcontroller
- the controller to be passed to application codejava.io.IOException
ServletException
public boolean resume(ServletRequest request, ServletResponse response, CometController controller) throws java.io.IOException, ServletException
resume
in interface CometServlet
request
- the servlet request objectresponse
- the servlet response objectcontroller
- the controller to be passed to application codejava.io.IOException
ServletException
public final void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
service
in interface Servlet
request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
java.io.IOException
ServletException