Package

unfiltered

netty

Permalink

package netty

Visibility
  1. Public
  2. All

Type Members

  1. trait Engine extends AnyRef

    Permalink

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

  2. class HouseKeeper extends ChannelInboundHandlerAdapter

    Permalink

    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

    Permalink
    Annotations
    @Sharable()
  4. trait PortBinding extends PortBindingInfo

    Permalink

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

  5. trait PortBindings extends AnyRef

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    A basic port binding for a socket addresses

  11. trait SslContextProvider extends AnyRef

    Permalink
  12. trait SslEngineProvider extends AnyRef

    Permalink
  13. trait DefaultServerInit extends AnyRef

    Permalink

    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

    Permalink

    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

    Permalink

    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]

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.1) Use unfiltered.netty.Server

  22. trait Ssl extends Security

    Permalink

    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

    Permalink

    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

    Permalink
  2. object Engine

    Permalink
  3. object Mimes

    Permalink
  4. object PortBinding

    Permalink
  5. object Retrieval

    Permalink

    Extracts HttpRequest if a retrieval method

  6. object Server extends PortBindings with Serializable

    Permalink
  7. object SslContextProvider

    Permalink
  8. object SslEngineProvider

    Permalink
  9. package resources

    Permalink

Deprecated Value Members

  1. object Http extends Serializable

    Permalink

    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

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.1) Use unfiltered.netty.Server

Ungrouped