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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

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

  8. val beforeStopBlock: () ⇒ Unit

    Definition Classes
    HttpHttpServer
  9. 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
  10. 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 aggregater, chunked requests will not not be handled.

    Definition Classes
    HttpServer
  11. def clone(): AnyRef

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

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

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

    Definition Classes
    AnyRef
  15. def finalize(): Unit

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

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

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

    Definition Classes
    HttpHttpServer
  19. val host: String

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

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

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

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

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

    Definition Classes
    AnyRef
  25. def pipelineFactory: ChannelPipelineFactory

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

    Definition Classes
    PlanServer
  27. val port: Int

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

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

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

    Definition Classes
    RunnableServer
  31. def run(): Unit

    Definition Classes
    RunnableServer
  32. def start(): ServerBuilder

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

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

    Definition Classes
    AnyRef
  35. val url: String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. 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