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
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def atmosphere(transformers: RouteTransformer*)(block: ⇒ AtmosphereClient): Unit

  8. val atmosphereFramework: ScalatraAtmosphereFramework

  9. 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
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def configureInterceptors(cfg: ServletConfig): Any

    Attributes
    protected
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. 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
    java.io.IOExceptionjavax.servlet.ServletException

  15. 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] )
  16. 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
    java.io.IOExceptionjavax.servlet.ServletException

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. 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
    AtmosphereSupport → Handler
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. def initialize(config: (AtmosphereSupport.this)#ConfigT): Unit

    Definition Classes
    AtmosphereSupport → Initializable
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. implicit def json2JsonMessage(json: JValue): OutboundMessage

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. implicit def scalatraActorSystem: ActorSystem

    Attributes
    protected
  28. def shutdown(): Unit

    Attributes
    protected
    Definition Classes
    Initializable
  29. implicit def string2Outbound(text: String): OutboundMessage

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. 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

  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. 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