unfiltered.netty

Http

case class Http(port: Int, host: String, handlers: List[() ⇒ ChannelHandler], beforeStopBlock: () ⇒ Unit) extends HttpServer with Product with Serializable

Default implementation of the Server trait. If you want to use a custom pipeline factory it's better to extend Server directly.

Self Type
Http
Linear Supertypes
Serializable, Serializable, Product, Equals, HttpServer, PlanServer[ChannelHandler], Server, RunnableServer, StartableServer, util.Server, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Http
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HttpServer
  7. PlanServer
  8. Server
  9. RunnableServer
  10. StartableServer
  11. Server
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Http(port: Int, host: String, handlers: List[() ⇒ ChannelHandler], beforeStopBlock: () ⇒ Unit)

Type Members

  1. type ServerBuilder = Http

    Definition Classes
    Http → PlanServer → Server

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def beforeStop(block: ⇒ Unit): Http

  6. val beforeStopBlock: () ⇒ Unit

    Definition Classes
    HttpHttpServer
  7. val channels: DefaultChannelGroup

    any channels added to this will receive broadcasted events

    any channels added to this will receive broadcasted events

    Attributes
    protected
    Definition Classes
    Server
  8. def chunked(maxContentLength: Int = 1048576): ServerBuilder

    Convenience method for adding a HttpChunkAggregator to the pipeline.

    Convenience method for adding a HttpChunkAggregator to the pipeline. Supports chunked request bodies up to the specified maximum bytes. Without this aggregator, chunked requests will not not be handled.

    Definition Classes
    HttpServer
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def closeConnections(): Server

    Definition Classes
    Server
  11. def destroy(): Http.this.type

    Definition Classes
    Server → StartableServer
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def handler(h: ChannelHandler): Http

  16. val handlers: List[() ⇒ ChannelHandler]

    Definition Classes
    HttpHttpServer
  17. val host: String

    Definition Classes
    HttpServer
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def makePlan(h: ⇒ ChannelHandler): Http

    Definition Classes
    Http → PlanServer
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def pipelineFactory: ChannelPipelineFactory

    Definition Classes
    HttpServer
  24. def plan(plan: ChannelHandler): ServerBuilder

    Definition Classes
    PlanServer
  25. val port: Int

    Definition Classes
    HttpServer → StartableServer
  26. def resources(path: URL, cacheSeconds: Int = 60, passOnFail: Boolean = true): ServerBuilder

    Definition Classes
    HttpServer
  27. def run(afterStart: (ServerBuilder) ⇒ Unit, afterStop: (ServerBuilder) ⇒ Unit): Unit

    Definition Classes
    RunnableServer
  28. def run(afterStart: (ServerBuilder) ⇒ Unit): Unit

    Definition Classes
    RunnableServer
  29. def run(): Unit

    Definition Classes
    RunnableServer
  30. def start(preBind: (ServerBootstrap) ⇒ ServerBootstrap): ServerBuilder

    Definition Classes
    Server
  31. def start(): ServerBuilder

    Definition Classes
    Server → StartableServer
  32. def stop(): Http.this.type

    Definition Classes
    HttpServer → StartableServer
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. val url: String

    Definition Classes
    Server
  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HttpServer

Inherited from PlanServer[ChannelHandler]

Inherited from Server

Inherited from RunnableServer

Inherited from StartableServer

Inherited from util.Server

Inherited from AnyRef

Inherited from Any

Ungrouped