Trait

org.scalatra.atmosphere

AtmosphereSupport

Related Doc: package atmosphere

Permalink

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

    Permalink
    Definition Classes
    Initializable
  2. abstract type ConfigT

    Permalink
    Definition Classes
    Initializable

Abstract Value Members

  1. implicit abstract def configWrapper(config: (AtmosphereSupport.this)#ConfigT): (AtmosphereSupport.this)#Config

    Permalink
    Attributes
    protected
    Definition Classes
    Initializable
  2. abstract def destroy(): Unit

    Permalink
    Definition Classes
    Servlet
  3. abstract def getServletConfig(): ServletConfig

    Permalink
    Definition Classes
    Servlet
  4. abstract def getServletInfo(): String

    Permalink
    Definition Classes
    Servlet
  5. abstract def init(arg0: ServletConfig): Unit

    Permalink
    Definition Classes
    Servlet
    Annotations
    @throws( ... )
  6. abstract def service(arg0: ServletRequest, arg1: ServletResponse): Unit

    Permalink
    Definition Classes
    Servlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
  6. val atmosphereFramework: ScalatraAtmosphereFramework

    Permalink
  7. val broadcasterConfig: BroadcasterConf

    Permalink

    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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def event(httpEvent: HttpEvent): Unit

    Permalink

    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

    Permalink

    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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def handle(request: HttpServletRequest, response: HttpServletResponse): Unit

    Permalink

    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
  18. def hashCode(): Int

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

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

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

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. implicit def scalatraActorSystem: ActorSystem

    Permalink
    Attributes
    protected
  26. def shutdown(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def trackMessageSize: Boolean

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. implicit def wireFormat: WireFormat

    Permalink
    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