Class 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

      Constructors 
      Constructor Description
      JettyAsyncSupport​(org.atmosphere.cpr.AtmosphereConfig config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.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 java.io.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:
        java.io.IOException
        javax.servlet.ServletException
      • getContainerName

        public java.lang.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