org.granite.gravity.jbossweb
Class AbstractHttpEventServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.granite.gravity.AbstractGravityServlet
org.granite.gravity.jbossweb.AbstractHttpEventServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig, org.jboss.servlet.http.HttpEventServlet
- Direct Known Subclasses:
- GravityJBossWebServlet
public abstract class AbstractHttpEventServlet
- extends AbstractGravityServlet
- implements org.jboss.servlet.http.HttpEventServlet
- Author:
- Franck WOLFF
- See Also:
- Serialized Form
| Methods inherited from class org.granite.gravity.AbstractGravityServlet |
cleanupRequest, deserialize, deserialize, doDelete, doGet, doHead, doOptions, doPut, doTrace, getConnectMessage, getLongPollingTimeout, init, initializeRequest, removeConnectMessage, serialize, setConnectMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractHttpEventServlet
public AbstractHttpEventServlet()
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init in interface Servlet- Overrides:
init in class GenericServlet
- Throws:
ServletException
createCometIO
public abstract CometIO createCometIO()
handleRequest
public abstract boolean handleRequest(org.jboss.servlet.http.HttpEvent event,
InputStream content)
throws IOException,
ServletException
- Throws:
IOException
ServletException
handleEnd
public abstract boolean handleEnd(org.jboss.servlet.http.HttpEvent event)
throws IOException,
ServletException
- Throws:
IOException
ServletException
handleError
public abstract boolean handleError(org.jboss.servlet.http.HttpEvent event)
throws IOException,
ServletException
- Throws:
IOException
ServletException
event
public void event(org.jboss.servlet.http.HttpEvent event)
throws IOException,
ServletException
- Specified by:
event in interface org.jboss.servlet.http.HttpEventServlet
- Throws:
IOException
ServletException
begin
protected void begin(org.jboss.servlet.http.HttpEvent event)
throws IOException,
ServletException
- Throws:
IOException
ServletException
read
protected void read(org.jboss.servlet.http.HttpEvent event)
end
protected void end(org.jboss.servlet.http.HttpEvent event)
throws IOException,
ServletException
- Throws:
IOException
ServletException
error
protected void error(org.jboss.servlet.http.HttpEvent event)
throws IOException,
ServletException
- Throws:
IOException
ServletException
service
protected void service(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Overrides:
service in class HttpServlet
- Throws:
IOException
ServletException