Package org.atmosphere.container
Class JettyAsyncSupportWithWebSocket
java.lang.Object
org.atmosphere.cpr.AsynchronousProcessor
org.atmosphere.container.Jetty7CometSupport
org.atmosphere.container.JettyAsyncSupportWithWebSocket
- All Implemented Interfaces:
AsyncSupport<AtmosphereResourceImpl>
WebSocket Portable Runtime implementation on top of Jetty's.
- Author:
- Jeanfrancois Arcand
-
Field Summary
Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor
cancelledAction, config, timedoutAction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the container's name.service(AtmosphereRequest req, AtmosphereResponse res) booleanReturn true if this implementation supports the websocket protocol.Methods inherited from class org.atmosphere.container.Jetty7CometSupport
action, complete, getContinuationMethods inherited from class org.atmosphere.cpr.AsynchronousProcessor
allowSessionTimeoutRemoval, cancelled, completeLifecycle, endRequest, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, shutdown, supportSession, suspended, timedout
-
Constructor Details
-
JettyAsyncSupportWithWebSocket
-
-
Method Details
-
service
public Action service(AtmosphereRequest req, AtmosphereResponse res) throws IOException, javax.servlet.ServletException Description copied from interface:AsyncSupport- Specified by:
servicein interfaceAsyncSupport<AtmosphereResourceImpl>- Overrides:
servicein classJetty7CometSupport- Parameters:
req- theAtmosphereRequestres- theAtmosphereResponse- Returns:
- the
Actionthat was manipulated by theAtmosphereHandler - Throws:
IOExceptionjavax.servlet.ServletException
-
getContainerName
Return the container's name.- Specified by:
getContainerNamein interfaceAsyncSupport<AtmosphereResourceImpl>- Overrides:
getContainerNamein classAsynchronousProcessor- Returns:
- the name of the Java Web Server.
-
supportWebSocket
public boolean supportWebSocket()Description copied from interface:AsyncSupportReturn true if this implementation supports the websocket protocol.- Specified by:
supportWebSocketin interfaceAsyncSupport<AtmosphereResourceImpl>- Overrides:
supportWebSocketin classAsynchronousProcessor- Returns:
- true if supported
-