package server
- Alphabetic
- Public
- All
Type Members
-
abstract
class
AbstractTwitterServer
extends TwitterServer
AbstractTwitterServer for usage from Java
- trait Ports extends server.TwitterServer
-
trait
TwitterServer
extends App with server.TwitterServer with Ports with Warmup with Logging
A com.twitter.server.TwitterServer that supports injection and com.twitter.inject.TwitterModule modules.
A com.twitter.server.TwitterServer that supports injection and com.twitter.inject.TwitterModule modules.
To use, override the appropriate @Lifecycle and callback method(s). Make sure when overriding @Lifecycle methods to call the super implementation, otherwise critical lifecycle set-up may not occur causing your server to either function improperly or outright fail.
Typically, you will only need to interact with the following methods:
postWarmup -- create and bind any external interface(s). See com.twitter.inject.app.App#postWarmup start -- callback executed after the injector is created and all @Lifecycle methods have completed.