package netty
- Alphabetic
- Public
- All
Type Members
-
trait
Engine extends AnyRef
Defines the set of resources used for process scheduling and collecting active channels needed for graceful shutdown
-
class
HouseKeeper extends ChannelInboundHandlerAdapter
Channel handler that keeps track of channels in a ChannelGroup for controlled shutdown.
Channel handler that keeps track of channels in a ChannelGroup for controlled shutdown.
- Annotations
- @Sharable()
-
class
NotFoundHandler extends ChannelInboundHandlerAdapter
- Annotations
- @Sharable()
-
trait
PortBinding extends PortBindingInfo
A PortBinding defines a binding for a ServerBootstrap for a given address and port
-
trait
PortBindings extends AnyRef
A mixin for binding ports to an instance of a netty Server
-
case class
Resources(base: URL, cacheSeconds: Int = 60, passOnFail: Boolean = true) extends ChannelInboundHandlerAdapter with Plan with ServerErrorResponse with Product with Serializable
Serves static resources.
Serves static resources. Adapted from Netty's example HttpStaticFileServerHandler
- Annotations
- @Sharable()
-
case class
SecureContextSocketBinding(port: Int, host: String, ssl: SslContextProvider) extends Secure with Product with Serializable
A port binding for secure socket addresses backed by a netty SslContext
-
case class
SecureEngineSocketBinding(port: Int, host: String, ssl: SslEngineProvider) extends Secure with Product with Serializable
A port binding for secure socket addresses backed by an implementation of a SSLEngine
-
case class
Server(portBindings: List[PortBinding], handlers: List[() ⇒ ChannelHandler], beforeStopBlock: () ⇒ Unit, chunkSize: Int, engine: Engine) extends RunnableServer with PlanServer[ChannelHandler] with PortBindings with Builder[Server] with Product with Serializable
A RunnableServer backed by a list of netty bootstrapped port bindings
A RunnableServer backed by a list of netty bootstrapped port bindings
- portBindings
a list of port bindings
- handlers
a list of functions which produce channel handlers
- beforeStopBlock
a function to be invoked when the server is shutdown before channels are closed
- chunkSize
the maximum size allowed for request body chunks
- engine
defines a set of resourced used to make a netty server run
-
case class
SocketBinding(port: Int, host: String) extends Simple with Product with Serializable
A basic port binding for a socket addresses
- trait SslContextProvider extends AnyRef
- trait SslEngineProvider extends AnyRef
Value Members
- object Dates
- object Engine
- object Mimes
- object PortBinding
-
object
Retrieval
Extracts HttpRequest if a retrieval method
- object Server extends PortBindings with Serializable
- object SslContextProvider
- object SslEngineProvider