org.atmosphere.container
Class JBossWebSocketSupport
java.lang.Object
org.atmosphere.cpr.AsynchronousProcessor
org.atmosphere.container.JBossWebCometSupport
org.atmosphere.container.JBossWebSocketSupport
- All Implemented Interfaces:
- AsyncSupport<AtmosphereResourceImpl>
public class JBossWebSocketSupport
- extends JBossWebCometSupport
JBoss AS7 websocket support based on Mike Brock's websockets implementation.
- Author:
- Péter Miklós
- See Also:
https://github.com/mikebrock/jboss-websockets
|
Method Summary |
void |
dispatch(org.jboss.servlet.http.HttpEvent httpEvent)
|
boolean |
supportWebSocket()
Return true if this implementation supports the websocket protocol. |
| Methods inherited from class org.atmosphere.cpr.AsynchronousProcessor |
allowSessionTimeoutRemoval, completeLifecycle, endRequest, getContainerName, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, shutdown, supportSession, suspended, timedout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossWebSocketSupport
public JBossWebSocketSupport(AtmosphereConfig config)
supportWebSocket
public boolean supportWebSocket()
- Description copied from interface:
AsyncSupport
- Return true if this implementation supports the websocket protocol.
- Specified by:
supportWebSocket in interface AsyncSupport<AtmosphereResourceImpl>- Overrides:
supportWebSocket in class AsynchronousProcessor
- Returns:
- true if supported
dispatch
public void dispatch(org.jboss.servlet.http.HttpEvent httpEvent)
throws IOException,
javax.servlet.ServletException
- Parameters:
httpEvent -
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2014. All Rights Reserved.