unfiltered.netty

HttpServer

trait HttpServer extends NettyBase with PlanServer[ChannelHandler]

An HTTP or HTTPS server

Annotations
@deprecated
Deprecated

(Since version 0.8.1) Use unfiltered.netty.Server

Linear Supertypes
PlanServer[ChannelHandler], NettyBase, RunnableServer, StartableServer, util.Server, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpServer
  2. PlanServer
  3. NettyBase
  4. RunnableServer
  5. StartableServer
  6. Server
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type ServerBuilder >: HttpServer.this.type <: PlanServer[ChannelHandler]

    Definition Classes
    PlanServer → Server

Abstract Value Members

  1. abstract def beforeStopBlock: () ⇒ Unit

    block of code to be invoked when the server is stopped, before connectons are closed

  2. abstract def handlers: List[() ⇒ ChannelHandler]

    list of functions which will produce a channel handler when invoked

  3. abstract val host: String

    host to bind to

    host to bind to

    Definition Classes
    NettyBase
  4. abstract def initializer: ChannelInitializer[SocketChannel]

    ChannelInitializer that initializes the server bootstrap

    ChannelInitializer that initializes the server bootstrap

    Attributes
    protected
    Definition Classes
    NettyBase
  5. abstract def makePlan(plan: ⇒ ChannelHandler): ServerBuilder

    Definition Classes
    PlanServer
  6. abstract val port: Int

    port to listen on

    port to listen on

    Definition Classes
    NettyBase

Concrete 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. val acceptor: EventLoopGroup

    EventLoopGroup associated with accepting client connections

    EventLoopGroup associated with accepting client connections

    Attributes
    protected
    Definition Classes
    NettyBase
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. 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
    NettyBase
  9. def clone(): AnyRef

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

    Definition Classes
    NettyBase
  11. def destroy(): HttpServer.this.type

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

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def plan(plan: ChannelHandler): ServerBuilder

    Definition Classes
    PlanServer
  22. def portBindings: List[HttpPortBindingShim]

    Definition Classes
    NettyBase → StartableServer
  23. def resources(path: URL, cacheSeconds: Int = 60, passOnFail: Boolean = true): util.PlanServer.ServerBuilder.ServerBuilder

  24. def run(afterStart: (ServerBuilder) ⇒ Unit, afterStop: (ServerBuilder) ⇒ Unit): Unit

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

    Definition Classes
    RunnableServer
  26. def run(): Unit

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

    Starts server with preBind callback called before connection binding

    Starts server with preBind callback called before connection binding

    Definition Classes
    NettyBase
  28. def start(): ServerBuilder

    Starts default server bootstrap

    Starts default server bootstrap

    Definition Classes
    NettyBase → StartableServer
  29. def stop(): HttpServer.this.type

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

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. val url: String

    Definition Classes
    NettyBase
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. val workers: EventLoopGroup

    EventLoopGroup associated with handling client requests

    EventLoopGroup associated with handling client requests

    Attributes
    protected
    Definition Classes
    NettyBase

Inherited from PlanServer[ChannelHandler]

Inherited from NettyBase

Inherited from RunnableServer

Inherited from StartableServer

Inherited from util.Server

Inherited from AnyRef

Inherited from Any

Ungrouped