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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdestroy, getServletConfig, getServletInfo, initpublic abstract boolean service(ServletRequest request, ServletResponse response, CometController controller) throws java.io.IOException, ServletException
service in interface CometServletrequest - the servlet request objectresponse - the servlet response objectcontroller - the controller to be passed to application codejava.io.IOExceptionServletExceptionpublic boolean resume(ServletRequest request, ServletResponse response, CometController controller) throws java.io.IOException, ServletException
resume in interface CometServletrequest - the servlet request objectresponse - the servlet response objectcontroller - the controller to be passed to application codejava.io.IOExceptionServletExceptionpublic final void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
service in interface Servletrequest - request information. Normally servlets will cast this
to HttpServletRequestresponse - response information. Normally servlets will cast this
to HttpServletRequestjava.io.IOExceptionServletException