t

org.scalatra.atmosphere

AtmosphereSupport

trait AtmosphereSupport extends Initializable with Handler with CometProcessor with HttpEventServlet with CometProcessor with ScalatraAsyncSupport

Self Type
AtmosphereSupport with ScalatraBase with SessionSupport with JsonSupport[_]
Linear Supertypes
ScalatraAsyncSupport, CometProcessor, HttpEventServlet, CometProcessor, Servlet, Handler, Initializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AtmosphereSupport
  2. ScalatraAsyncSupport
  3. CometProcessor
  4. HttpEventServlet
  5. CometProcessor
  6. Servlet
  7. Handler
  8. Initializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Config extends AnyRef
    Definition Classes
    Initializable
  2. abstract type ConfigT
    Definition Classes
    Initializable

Abstract Value Members

  1. implicit abstract def configWrapper(config: (AtmosphereSupport.this)#ConfigT): (AtmosphereSupport.this)#Config
    Attributes
    protected
    Definition Classes
    Initializable
  2. abstract def destroy(): Unit
    Definition Classes
    Servlet
  3. abstract def getServletConfig(): ServletConfig
    Definition Classes
    Servlet
  4. abstract def getServletInfo(): String
    Definition Classes
    Servlet
  5. abstract def init(arg0: ServletConfig): Unit
    Definition Classes
    Servlet
    Annotations
    @throws( ... )
  6. abstract def service(arg0: ServletRequest, arg1: ServletResponse): Unit
    Definition Classes
    Servlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def atmosphere(transformers: RouteTransformer*)(block: ⇒ AtmosphereClient): Unit
  6. val atmosphereFramework: ScalatraAtmosphereFramework
  7. val broadcasterConfig: BroadcasterConf

    Override this to use another ScalaBroadcaster like RedisScalatraBroadcaster

    Override this to use another ScalaBroadcaster like RedisScalatraBroadcaster

    Example: RedisScalatraBroadcasterConfig(URI.create("redis://127.0.0.1"), Some("password"))

    Attributes
    protected
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def configureInterceptors(cfg: ServletConfig): Any
    Attributes
    protected
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def event(httpEvent: HttpEvent): Unit

    Hack to support JBossWeb AIO like other WebServer.

    Hack to support JBossWeb AIO like other WebServer. This method is invoked by Tomcat when it detect a javax.servlet.Servlet implements the interface org.jboss.servlet.http.HttpEventServlet without invoking javax.servlet.Servlet#service

    httpEvent

    the org.jboss.servlet.http.HttpEvent

    Definition Classes
    AtmosphereSupport → HttpEventServlet
    Annotations
    @throws( classOf[IOException] ) @throws( classOf[ServletException] )
    Exceptions thrown
  13. def event(cometEvent: CometEvent): Unit

    Hack to support Tomcat 7 AIO

    Hack to support Tomcat 7 AIO

    Definition Classes
    AtmosphereSupport → CometProcessor
    Annotations
    @throws( classOf[IOException] ) @throws( classOf[ServletException] )
  14. def event(cometEvent: CometEvent): Unit

    Hack to support Tomcat AIO like other WebServer.

    Hack to support Tomcat AIO like other WebServer. This method is invoked by Tomcat when it detect a javax.servlet.Servlet implements the interface org.apache.catalina.CometProcessor without invoking javax.servlet.Servlet#service

    cometEvent

    the org.apache.catalina.CometEvent

    Definition Classes
    AtmosphereSupport → CometProcessor
    Annotations
    @throws( classOf[IOException] ) @throws( classOf[ServletException] )
    Exceptions thrown
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. def handle(request: HttpServletRequest, response: HttpServletResponse): Unit

    Handles a request and renders a response.

    Handles a request and renders a response.

    $ 1. If the request lacks a character encoding, defaultCharacterEncoding is set to the request.

    $ 2. Sets the response's character encoding to defaultCharacterEncoding.

    $ 3. Binds the current request, response, and multiParams, and calls executeRoutes().

    Definition Classes
    AtmosphereSupportHandler
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  19. def initialize(config: (AtmosphereSupport.this)#ConfigT): Unit

    A hook to initialize the class with some configuration after it has been constructed.

    A hook to initialize the class with some configuration after it has been constructed.

    Not called init because GenericServlet doesn't override it, and then we get into https://lampsvn.epfl.ch/trac/scala/ticket/2497.

    Definition Classes
    AtmosphereSupportInitializable
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. implicit def json2JsonMessage(json: JValue): OutboundMessage
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. implicit def scalatraActorSystem: ActorSystem
    Attributes
    protected
  26. def shutdown(): Unit

    A hook to shutdown the class.

    A hook to shutdown the class. Bridges the gap between servlet's destroy and filter's destroy.

    Attributes
    protected
    Definition Classes
    Initializable
  27. implicit def string2Outbound(text: String): OutboundMessage
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def trackMessageSize: Boolean

    Servlets that want to track atmosphere message size should override this.

    Servlets that want to track atmosphere message size should override this.

    Attributes
    protected
    See also

    TrackMessageSizeInterceptor

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. implicit def wireFormat: WireFormat
    Attributes
    protected

Inherited from ScalatraAsyncSupport

Inherited from CometProcessor

Inherited from HttpEventServlet

Inherited from CometProcessor

Inherited from Servlet

Inherited from Handler

Inherited from Initializable

Inherited from AnyRef

Inherited from Any

Ungrouped