public abstract class AbstractHttpEventServlet extends org.granite.gravity.AbstractGravityServlet implements org.jboss.servlet.http.HttpEventServlet
| Constructor and Description |
|---|
AbstractHttpEventServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
begin(org.jboss.servlet.http.HttpEvent event) |
abstract CometIO |
createCometIO() |
protected void |
end(org.jboss.servlet.http.HttpEvent event) |
protected void |
error(org.jboss.servlet.http.HttpEvent event) |
void |
event(org.jboss.servlet.http.HttpEvent event) |
abstract boolean |
handleEnd(org.jboss.servlet.http.HttpEvent event) |
abstract boolean |
handleError(org.jboss.servlet.http.HttpEvent event) |
abstract boolean |
handleRequest(org.jboss.servlet.http.HttpEvent event,
InputStream content) |
protected void |
read(org.jboss.servlet.http.HttpEvent event) |
protected void |
service(HttpServletRequest request,
HttpServletResponse response) |
cleanupRequest, deserialize, deserialize, doDelete, doGet, doHead, doOptions, doPut, doTrace, getConnectMessage, getLongPollingTimeout, init, initializeRequest, removeConnectMessage, serialize, setConnectMessagedoPost, getLastModified, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getServletConfig, getServletInfo, init, servicepublic AbstractHttpEventServlet()
public abstract CometIO createCometIO()
public abstract boolean handleRequest(org.jboss.servlet.http.HttpEvent event, InputStream content) throws IOException, ServletException
IOExceptionServletExceptionpublic abstract boolean handleEnd(org.jboss.servlet.http.HttpEvent event) throws IOException, ServletException
IOExceptionServletExceptionpublic abstract boolean handleError(org.jboss.servlet.http.HttpEvent event) throws IOException, ServletException
IOExceptionServletExceptionpublic void event(org.jboss.servlet.http.HttpEvent event) throws IOException, ServletException
event in interface org.jboss.servlet.http.HttpEventServletIOExceptionServletExceptionprotected void begin(org.jboss.servlet.http.HttpEvent event) throws IOException, ServletException
IOExceptionServletExceptionprotected void read(org.jboss.servlet.http.HttpEvent event)
protected void end(org.jboss.servlet.http.HttpEvent event) throws IOException, ServletException
IOExceptionServletExceptionprotected void error(org.jboss.servlet.http.HttpEvent event) throws IOException, ServletException
IOExceptionServletExceptionprotected void service(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
service in class HttpServletIOExceptionServletException