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:
AsyncSupport<AtmosphereResourceImpl>

public class JettyAsyncSupport
extends Jetty7CometSupport


Nested Class Summary
 
Nested classes/interfaces inherited from class org.atmosphere.cpr.AsynchronousProcessor
AsynchronousProcessor.AsynchronousProcessorHook
 
Field Summary
 
Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor
aliveRequests, cancelledAction, config, timedoutAction
 
Constructor Summary
JettyAsyncSupport(AtmosphereConfig config)
           
 
Method Summary
 String getContainerName()
          Return the container's name.
protected  org.eclipse.jetty.continuation.Continuation getContinuation(AtmosphereRequest req)
           
 Action service(AtmosphereRequest req, AtmosphereResponse res)
          
 boolean supportWebSocket()
           
 
Methods inherited from class org.atmosphere.container.Jetty7CometSupport
action
 
Methods inherited from class org.atmosphere.cpr.AsynchronousProcessor
cancelled, completeLifecycle, init, invokeAtmosphereHandler, map, map, resumed, shutdown, supportSession, suspended, timedout, trackActiveRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyAsyncSupport

public JettyAsyncSupport(AtmosphereConfig config)
Method Detail

service

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

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

getContainerName

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

Specified by:
getContainerName in interface AsyncSupport<AtmosphereResourceImpl>
Overrides:
getContainerName in class AsynchronousProcessor

supportWebSocket

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

getContinuation

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


Copyright © 2013. All Rights Reserved.