org.atmosphere.container
Class JSR356AsyncSupport

java.lang.Object
  extended by org.atmosphere.cpr.AsynchronousProcessor
      extended by org.atmosphere.container.Servlet30CometSupport
          extended by org.atmosphere.container.JSR356AsyncSupport
All Implemented Interfaces:
AsyncSupport<AtmosphereResourceImpl>

public class JSR356AsyncSupport
extends Servlet30CometSupport


Nested Class Summary
static class JSR356AsyncSupport.AtmosphereConfigurator
           
 
Nested classes/interfaces inherited from class org.atmosphere.cpr.AsynchronousProcessor
AsynchronousProcessor.AsynchronousProcessorHook
 
Field Summary
 
Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor
cancelledAction, config, timedoutAction
 
Constructor Summary
JSR356AsyncSupport(AtmosphereConfig config)
           
 
Method Summary
 String getContainerName()
          Return "javax.servlet".
 boolean supportWebSocket()
          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, init, invokeAtmosphereHandler, map, resumed, shutdown, supportSession, suspended, timedout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSR356AsyncSupport

public JSR356AsyncSupport(AtmosphereConfig config)
Method Detail

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

getContainerName

public String getContainerName()
Description copied from class: Servlet30CometSupport
Return "javax.servlet".

Specified by:
getContainerName in interface AsyncSupport<AtmosphereResourceImpl>
Overrides:
getContainerName in class Servlet30CometSupport
Returns:
"javax.servlet"


Copyright © 2014. All Rights Reserved.