org.atmosphere.cometd
Class JettyAsyncSupport

java.lang.Object
  extended by org.atmosphere.cpr.AsynchronousProcessor
      extended by org.atmosphere.container.Jetty7CometSupport
          extended by org.atmosphere.cometd.JettyAsyncSupport
All Implemented Interfaces:
org.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>

public class JettyAsyncSupport
extends org.atmosphere.container.Jetty7CometSupport


Field Summary
 
Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor
cancelledAction, config, timedoutAction
 
Constructor Summary
JettyAsyncSupport(org.atmosphere.cpr.AtmosphereConfig config)
           
 
Method Summary
 String getContainerName()
          Return the container's name.
protected  org.eclipse.jetty.continuation.Continuation getContinuation(org.atmosphere.cpr.AtmosphereRequest req)
           
 org.atmosphere.cpr.Action service(org.atmosphere.cpr.AtmosphereRequest req, org.atmosphere.cpr.AtmosphereResponse res)
          
 boolean supportWebSocket()
           
 
Methods inherited from class org.atmosphere.container.Jetty7CometSupport
action, complete
 
Methods inherited from class org.atmosphere.cpr.AsynchronousProcessor
allowSessionTimeoutRemoval, cancelled, completeLifecycle, endRequest, 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
 

Constructor Detail

JettyAsyncSupport

public JettyAsyncSupport(org.atmosphere.cpr.AtmosphereConfig config)
Method Detail

service

public org.atmosphere.cpr.Action service(org.atmosphere.cpr.AtmosphereRequest req,
                                         org.atmosphere.cpr.AtmosphereResponse res)
                                  throws IOException,
                                         javax.servlet.ServletException

Specified by:
service in interface org.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>
Overrides:
service in class org.atmosphere.container.Jetty7CometSupport
Throws:
IOException
javax.servlet.ServletException

getContainerName

public String getContainerName()
Return the container's name.

Specified by:
getContainerName in interface org.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>
Overrides:
getContainerName in class org.atmosphere.cpr.AsynchronousProcessor

supportWebSocket

public boolean supportWebSocket()
Specified by:
supportWebSocket in interface org.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>
Overrides:
supportWebSocket in class org.atmosphere.cpr.AsynchronousProcessor

getContinuation

protected org.eclipse.jetty.continuation.Continuation getContinuation(org.atmosphere.cpr.AtmosphereRequest req)
Overrides:
getContinuation in class org.atmosphere.container.Jetty7CometSupport


Copyright © 2014. All Rights Reserved.