public class JBossWebSocketSupport extends AsynchronousProcessor
https://github.com/mikebrock/jboss-websocketsAsynchronousProcessor.AsynchronousProcessorHookcancelledAction, config, timedoutAction| Constructor and Description |
|---|
JBossWebSocketSupport(AtmosphereConfig config) |
| Modifier and Type | Method and Description |
|---|---|
AsyncSupport |
complete(AtmosphereResourceImpl r)
Complete and close the connection associated with an implementation of
AtmosphereResource |
void |
dispatch(org.jboss.servlet.http.HttpEvent httpEvent) |
Action |
service(AtmosphereRequest req,
AtmosphereResponse res)
|
boolean |
supportWebSocket()
Return true if this implementation supports the websocket protocol.
|
action, allowSessionTimeoutRemoval, cancelled, completeLifecycle, getContainerName, init, invokeAtmosphereHandler, map, resumed, shutdown, supportSession, suspended, timedoutpublic JBossWebSocketSupport(AtmosphereConfig config)
public Action service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException
AsyncSupportreq - the AtmosphereRequestres - the AtmosphereResponseAction that was manipulated by the AtmosphereHandlerIOExceptionjavax.servlet.ServletExceptionpublic boolean supportWebSocket()
AsyncSupportsupportWebSocket in interface AsyncSupport<AtmosphereResourceImpl>supportWebSocket in class AsynchronousProcessorpublic AsyncSupport complete(AtmosphereResourceImpl r)
AsyncSupportAtmosphereResourcecomplete in interface AsyncSupport<AtmosphereResourceImpl>complete in class AsynchronousProcessorr - AtmosphereResourcepublic void dispatch(org.jboss.servlet.http.HttpEvent httpEvent)
throws IOException,
javax.servlet.ServletException
httpEvent - javax.servlet.ServletExceptionIOExceptionCopyright © 2015. All Rights Reserved.