public class Tomcat7AsyncSupportWithWebSocket extends Tomcat7CometSupport implements TomcatWebSocketUtil.Delegate
WebSocketServletCOMET_EVENTcancelledAction, config, timedoutAction| Constructor and Description |
|---|
Tomcat7AsyncSupportWithWebSocket(AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
Action |
doService(AtmosphereRequest req,
AtmosphereResponse res) |
Action |
service(AtmosphereRequest req,
AtmosphereResponse res)
Invoked by the Tomcat AIO when a Comet request gets detected.
|
boolean |
supportWebSocket()
Return true if this implementation supports the websocket protocol.
|
action, cancelled, completeallowSessionTimeoutRemoval, completeLifecycle, endRequest, getContainerName, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, shutdown, supportSession, suspended, timedoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsuspendedpublic Tomcat7AsyncSupportWithWebSocket(AtmosphereConfig config)
public Action service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
Tomcat7CometSupportservice in interface AsyncSupport<AtmosphereResourceImpl>service in class Tomcat7CometSupportreq - the AtmosphereRequestres - the AtmosphereResponseAction that was manipulated by the AtmosphereHandlerIOExceptionjavax.servlet.ServletExceptionpublic Action doService(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
doService in interface TomcatWebSocketUtil.DelegateIOExceptionjavax.servlet.ServletExceptionpublic boolean supportWebSocket()
AsyncSupportsupportWebSocket in interface AsyncSupport<AtmosphereResourceImpl>supportWebSocket in class AsynchronousProcessorCopyright © 2016. All rights reserved.