t

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

Source
http.scala
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
Visibility
  1. Public
  2. Protected

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

    EventLoopGroup associated with accepting client connections

    EventLoopGroup associated with accepting client connections

    Attributes
    protected
    Definition Classes
    NettyBase
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bestEventLoopGroup: MultithreadEventLoopGroup
    Attributes
    protected
    Definition Classes
    NettyBase
  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
    NettyBase
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def closeConnections(): NettyBase
    Definition Classes
    NettyBase
  10. def destroy(): HttpServer.this.type
    Definition Classes
    NettyBase → StartableServer
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def plan(plan: ChannelHandler): ServerBuilder
    Definition Classes
    PlanServer
  21. def portBindings: List[HttpPortBindingShim]
    Definition Classes
    NettyBase → StartableServer
  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
    NettyBase
  27. def start(): ServerBuilder

    Starts default server bootstrap

    Starts default server bootstrap

    Definition Classes
    NettyBase → 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
    NettyBase
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. 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