org.atmosphere.cometd
Class JettyAsyncSupport
java.lang.Object
org.atmosphere.cpr.AsynchronousProcessor
org.atmosphere.container.Jetty7CometSupport
org.atmosphere.cometd.JettyAsyncSupport
- All Implemented Interfaces:
- org.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>
public class JettyAsyncSupport
- extends org.atmosphere.container.Jetty7CometSupport
| Nested classes/interfaces inherited from class org.atmosphere.cpr.AsynchronousProcessor |
org.atmosphere.cpr.AsynchronousProcessor.AsynchronousProcessorHook |
| Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor |
aliveRequests, cancelledAction, config, timedoutAction |
|
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 |
| Methods inherited from class org.atmosphere.cpr.AsynchronousProcessor |
cancelled, destroyResource, init, map, resumed, shutdown, supportSession, suspended, timedout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyAsyncSupport
public JettyAsyncSupport(org.atmosphere.cpr.AtmosphereConfig config)
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 © 2013. All Rights Reserved.