unfiltered.netty

HttpServer

trait HttpServer extends Server with PlanServer[ChannelHandler]

An HTTP or HTTPS server

Linear Supertypes
PlanServer[ChannelHandler], Server, RunnableServer, StartableServer, util.Server, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpServer
  2. PlanServer
  3. Server
  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
    Server
  4. abstract def initializer: ChannelInitializer[SocketChannel]

    ChannelInitializer that initializes the server bootstrap

    ChannelInitializer that initializes the server bootstrap

    Attributes
    protected
    Definition Classes
    Server
  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
    Server → StartableServer

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
    Server
  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
    Server
  9. def clone(): AnyRef

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

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

    Definition Classes
    Server → 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 resources(path: URL, cacheSeconds: Int = 60, passOnFail: Boolean = true): util.PlanServer.ServerBuilder.ServerBuilder

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

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

    Definition Classes
    RunnableServer
  25. def run(): Unit

    Definition Classes
    RunnableServer
  26. 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
    Server
  27. def start(): ServerBuilder

    Starts default server bootstrap

    Starts default server bootstrap

    Definition Classes
    Server → StartableServer
  28. def stop(): HttpServer.this.type

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

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. val url: String

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

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

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

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

    EventLoopGroup associated with handling client requests

    EventLoopGroup associated with handling client requests

    Attributes
    protected
    Definition Classes
    Server

Inherited from PlanServer[ChannelHandler]

Inherited from Server

Inherited from RunnableServer

Inherited from StartableServer

Inherited from util.Server

Inherited from AnyRef

Inherited from Any

Ungrouped