trait AtmosphereSupport extends Initializable with Handler with CometProcessor with HttpEventServlet with CometProcessor with ScalatraAsyncSupport
- Self Type
- AtmosphereSupport with ScalatraBase with SessionSupport with JsonSupport[_]
- Alphabetic
- By Inheritance
- AtmosphereSupport
- ScalatraAsyncSupport
- CometProcessor
- HttpEventServlet
- CometProcessor
- Servlet
- Handler
- Initializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Config
extends AnyRef
- Definition Classes
- Initializable
-
abstract
type
ConfigT
- Definition Classes
- Initializable
Abstract Value Members
-
implicit abstract
def
configWrapper(config: (AtmosphereSupport.this)#ConfigT): (AtmosphereSupport.this)#Config
- Attributes
- protected
- Definition Classes
- Initializable
-
abstract
def
destroy(): Unit
- Definition Classes
- Servlet
-
abstract
def
getServletConfig(): ServletConfig
- Definition Classes
- Servlet
-
abstract
def
getServletInfo(): String
- Definition Classes
- Servlet
-
abstract
def
init(arg0: ServletConfig): Unit
- Definition Classes
- Servlet
- Annotations
- @throws( ... )
-
abstract
def
service(arg0: ServletRequest, arg1: ServletResponse): Unit
- Definition Classes
- Servlet
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def atmosphere(transformers: RouteTransformer*)(block: ⇒ AtmosphereClient): Unit
- val atmosphereFramework: ScalatraAtmosphereFramework
-
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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
configureInterceptors(cfg: ServletConfig): Any
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
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] )
-
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
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
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
, andmultiParams
, and callsexecuteRoutes()
.- Definition Classes
- AtmosphereSupport → Handler
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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
- AtmosphereSupport → Initializable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def json2JsonMessage(json: JValue): OutboundMessage
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
implicit
def
scalatraActorSystem: ActorSystem
- Attributes
- protected
-
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
- implicit def string2Outbound(text: String): OutboundMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
def
wireFormat: WireFormat
- Attributes
- protected