public class JBossAsyncSupportWithWebSocket extends JBossWebCometSupport
Tomcat7AsyncSupportWithWebSocket
and
TomcatWebSocketUtil
HTTP_EVENT
cancelledAction, 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, complete
allowSessionTimeoutRemoval, completeLifecycle, endRequest, getContainerName, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, shutdown, supportSession, suspended, timedout
public JBossAsyncSupportWithWebSocket(AtmosphereConfig config)
public Action service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
JBossWebCometSupport
service
in interface AsyncSupport<AtmosphereResourceImpl>
service
in class JBossWebCometSupport
req
- the AtmosphereRequest
res
- the AtmosphereResponse
Action
that was manipulated by the AtmosphereHandler
IOException
javax.servlet.ServletException
public Action doService(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public boolean supportWebSocket()
AsyncSupport
supportWebSocket
in interface AsyncSupport<AtmosphereResourceImpl>
supportWebSocket
in class AsynchronousProcessor
public void dispatch(org.jboss.servlet.http.HttpEvent httpEvent) throws IOException, javax.servlet.ServletException
httpEvent
- javax.servlet.ServletException
IOException
Copyright © 2016. All rights reserved.