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
-
trait
DefaultServerInit extends AnyRef
HTTP Netty pipline builder.
HTTP Netty pipline builder. Uses Netty defaults: maxInitialLineLength 4096, maxHeaderSize 8192 and maxChunkSize 8192
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
class
HouseKeepingChannelHandler extends HouseKeeper
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
- @deprecated @Sharable()
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.HouseKeeper
-
case class
Http(port: Int, host: String, handlers: List[() ⇒ ChannelHandler], beforeStopBlock: () ⇒ Unit, chunkSize: Int = 1048576) extends HttpServer with DefaultServerInit with Product with Serializable
Default implementation of the Server trait.
Default implementation of the Server trait. If you want to use a custom pipeline factory it's better to extend Server directly.
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
trait
HttpServer extends NettyBase with PlanServer[ChannelHandler]
An HTTP or HTTPS server
An HTTP or HTTPS server
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
case class
Https(port: Int, host: String, handlers: List[() ⇒ ChannelHandler], beforeStopBlock: () ⇒ Unit, chunkSize: Int = 1048576) extends HttpServer with Ssl with Product with Serializable
Http + Ssl implementation of the Server trait.
Http + Ssl implementation of the Server trait.
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
trait
NettyBase extends RunnableServer
Base Netty server trait for http and websockets
Base Netty server trait for http and websockets
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
class
SecureServerInit extends ChannelInitializer[SocketChannel] with DefaultServerInit
ChannelPipelineFactory for secure Http connections
ChannelPipelineFactory for secure Http connections
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
trait
Security extends AnyRef
Provides security dependencies
Provides security dependencies
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
class
ServerInit extends ChannelInitializer[SocketChannel] with DefaultServerInit
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
trait
Ssl extends Security
Provides basic ssl support.
Provides basic ssl support. A keyStore and keyStorePassword are required and default to using the system property values "netty.ssl.keyStore" and "netty.ssl.keyStorePassword" respectively.
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
trait
Trusted extends AnyRef
Mixin for SslSecurity which adds trust store security.
Mixin for SslSecurity which adds trust store security. A trustStore and trustStorePassword are required and default to the System property values "netty.ssl.trustStore" and "netty.ssl.trustStorePassword" respectively
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
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
Deprecated Value Members
-
object
Http extends Serializable
Factory for creating Http servers
Factory for creating Http servers
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
-
object
Https extends Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server