public class JBossAsyncSupportWithWebSocket extends JBossWebCometSupport
Tomcat7AsyncSupportWithWebSocket and
TomcatWebSocketUtilHTTP_EVENTcancelledAction, config, timedoutAction| Constructor and Description |
|---|
JBossAsyncSupportWithWebSocket(AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(org.jboss.servlet.http.HttpEvent httpEvent) |
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, timedoutpublic JBossAsyncSupportWithWebSocket(AtmosphereConfig config)
public Action service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
JBossWebCometSupportservice in interface AsyncSupport<AtmosphereResourceImpl>service in class JBossWebCometSupportreq - the AtmosphereRequestres - the AtmosphereResponseAction that was manipulated by the AtmosphereHandlerIOExceptionjavax.servlet.ServletExceptionpublic Action doService(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic boolean supportWebSocket()
AsyncSupportsupportWebSocket in interface AsyncSupport<AtmosphereResourceImpl>supportWebSocket in class AsynchronousProcessorpublic void dispatch(org.jboss.servlet.http.HttpEvent httpEvent)
throws IOException,
javax.servlet.ServletException
httpEvent - javax.servlet.ServletExceptionIOExceptionCopyright © 2016. All rights reserved.