Package 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
-
-
Constructor Summary
Constructors Constructor Description JettyAsyncSupport(org.atmosphere.cpr.AtmosphereConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContainerName()Return the container's name.protected org.eclipse.jetty.continuation.ContinuationgetContinuation(org.atmosphere.cpr.AtmosphereRequest req)org.atmosphere.cpr.Actionservice(org.atmosphere.cpr.AtmosphereRequest req, org.atmosphere.cpr.AtmosphereResponse res)booleansupportWebSocket()
-
-
-
Method Detail
-
service
public org.atmosphere.cpr.Action service(org.atmosphere.cpr.AtmosphereRequest req, org.atmosphere.cpr.AtmosphereResponse res) throws java.io.IOException, javax.servlet.ServletException- Specified by:
servicein interfaceorg.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>- Overrides:
servicein classorg.atmosphere.container.Jetty7CometSupport- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
getContainerName
public java.lang.String getContainerName()
Return the container's name.- Specified by:
getContainerNamein interfaceorg.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>- Overrides:
getContainerNamein classorg.atmosphere.cpr.AsynchronousProcessor
-
supportWebSocket
public boolean supportWebSocket()
- Specified by:
supportWebSocketin interfaceorg.atmosphere.cpr.AsyncSupport<org.atmosphere.cpr.AtmosphereResourceImpl>- Overrides:
supportWebSocketin classorg.atmosphere.cpr.AsynchronousProcessor
-
getContinuation
protected org.eclipse.jetty.continuation.Continuation getContinuation(org.atmosphere.cpr.AtmosphereRequest req)
- Overrides:
getContinuationin classorg.atmosphere.container.Jetty7CometSupport
-
-