Package org.atmosphere.container
Class JSR356AsyncSupport
- java.lang.Object
-
- org.atmosphere.cpr.AsynchronousProcessor
-
- org.atmosphere.container.Servlet30CometSupport
-
- org.atmosphere.container.JSR356AsyncSupport
-
- All Implemented Interfaces:
AsyncSupport<AtmosphereResourceImpl>
public class JSR356AsyncSupport extends Servlet30CometSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJSR356AsyncSupport.AtmosphereConfigurator
-
Field Summary
-
Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor
cancelledAction, config, timedoutAction
-
-
Constructor Summary
Constructors Constructor Description JSR356AsyncSupport(AtmosphereConfig config)JSR356AsyncSupport(AtmosphereConfig config, javax.servlet.ServletContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContainerName()Return "javax.servlet".booleansupportWebSocket()Return true if this implementation supports the websocket protocol.-
Methods inherited from class org.atmosphere.container.Servlet30CometSupport
action, cancelled, complete, endAsyncContext, service
-
Methods inherited from class org.atmosphere.cpr.AsynchronousProcessor
allowSessionTimeoutRemoval, completeLifecycle, endRequest, init, invokeAtmosphereHandler, invokeInterceptors, map, postInterceptors, resumed, shutdown, supportSession, suspended, timedout
-
-
-
-
Constructor Detail
-
JSR356AsyncSupport
public JSR356AsyncSupport(AtmosphereConfig config)
-
JSR356AsyncSupport
public JSR356AsyncSupport(AtmosphereConfig config, javax.servlet.ServletContext ctx)
-
-
Method Detail
-
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
-
getContainerName
public java.lang.String getContainerName()
Description copied from class:Servlet30CometSupportReturn "javax.servlet".- Specified by:
getContainerNamein interfaceAsyncSupport<AtmosphereResourceImpl>- Overrides:
getContainerNamein classServlet30CometSupport- Returns:
- "javax.servlet"
-
-