org.granite.gravity.tomcat
Class GravityTomcatServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.granite.gravity.AbstractGravityServlet
org.granite.gravity.tomcat.AbstractCometProcessor
org.granite.gravity.tomcat.GravityTomcatServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig, CometProcessor
public class GravityTomcatServlet
- extends AbstractCometProcessor
- 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 |
GravityTomcatServlet
public GravityTomcatServlet()
createCometIO
public CometIO createCometIO()
- Specified by:
createCometIO in class AbstractCometProcessor
handleRequest
public boolean handleRequest(CometEvent event,
InputStream content)
throws IOException,
ServletException
- Specified by:
handleRequest in class AbstractCometProcessor
- Throws:
IOException
ServletException
handleEnd
public boolean handleEnd(CometEvent event)
throws IOException,
ServletException
- Specified by:
handleEnd in class AbstractCometProcessor
- Throws:
IOException
ServletException
handleError
public boolean handleError(CometEvent event)
throws IOException
- Specified by:
handleError in class AbstractCometProcessor
- Throws:
IOException