package netty

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait Engine extends AnyRef

    Defines the set of resources used for process scheduling and collecting active channels needed for graceful shutdown

  2. 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()
  3. class NotFoundHandler extends ChannelInboundHandlerAdapter
    Annotations
    @Sharable()
  4. trait PortBinding extends PortBindingInfo

    A PortBinding defines a binding for a ServerBootstrap for a given address and port

  5. trait PortBindings extends AnyRef

    A mixin for binding ports to an instance of a netty Server

  6. 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()
  7. 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

  8. 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

  9. 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

  10. case class SocketBinding(port: Int, host: String) extends Simple with Product with Serializable

    A basic port binding for a socket addresses

  11. trait SslContextProvider extends AnyRef
  12. trait SslEngineProvider extends AnyRef
  13. 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

  14. 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

  15. 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

  16. 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

  17. 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

  18. 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

  19. 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

  20. trait Security extends AnyRef

    Provides security dependencies

    Provides security dependencies

    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.1) Use unfiltered.netty.Server

  21. class ServerInit extends ChannelInitializer[SocketChannel] with DefaultServerInit
    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.1) Use unfiltered.netty.Server

  22. 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

  23. 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

  1. object Dates
  2. object Engine
  3. object Mimes
  4. object PortBinding
  5. object Retrieval

    Extracts HttpRequest if a retrieval method

  6. object Server extends PortBindings with Serializable
  7. object SslContextProvider
  8. object SslEngineProvider

Deprecated Value Members

  1. 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

  2. object Https extends Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.1) Use unfiltered.netty.Server

Ungrouped