case class Https(port: Int, host: String, handlers: List[() ⇒ ChannelHandler], beforeStopBlock: () ⇒ Unit, chunkSize: Int = 1048576) extends HttpServer with Ssl with Product with Serializable

Http + Ssl implementation of the Server trait.

Self Type
Https
Annotations
@deprecated
Deprecated

(Since version 0.8.1) Use unfiltered.netty.Server

Source
secured.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Ssl, Security, HttpServer, PlanServer[ChannelHandler], NettyBase, RunnableServer, StartableServer, util.Server, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Https
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Ssl
  7. Security
  8. HttpServer
  9. PlanServer
  10. NettyBase
  11. RunnableServer
  12. StartableServer
  13. Server
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Https(port: Int, host: String, handlers: List[() ⇒ ChannelHandler], beforeStopBlock: () ⇒ Unit, chunkSize: Int = 1048576)

Type Members

  1. type ServerBuilder = Https
    Definition Classes
    Https → 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. 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 beforeStop(block: ⇒ Unit): Https
  7. val beforeStopBlock: () ⇒ Unit

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

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

    Definition Classes
    HttpsHttpServer
  8. def bestEventLoopGroup: MultithreadEventLoopGroup
    Attributes
    protected
    Definition Classes
    NettyBase
  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
    NettyBase
  10. val chunkSize: Int
  11. def chunked(size: Int = 1048576): Https
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. def closeConnections(): NettyBase
    Definition Classes
    NettyBase
  14. lazy val createSslContext: SSLContext

    create an SSLContext from which an SSLEngine can be created

    create an SSLContext from which an SSLEngine can be created

    Definition Classes
    SslSecurity
  15. def destroy(): Https.this.type
    Definition Classes
    NettyBase → StartableServer
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def handler(h: ChannelHandler): Https
  20. val handlers: List[() ⇒ ChannelHandler]

    list of functions which will produce a channel handler when invoked

    list of functions which will produce a channel handler when invoked

    Definition Classes
    HttpsHttpServer
  21. val host: String

    host to bind to

    host to bind to

    Definition Classes
    HttpsNettyBase
  22. def initSslContext(ctx: SSLContext): Unit
    Definition Classes
    Ssl
  23. def initializer: ChannelInitializer[SocketChannel]

    ChannelInitializer that initializes the server bootstrap

    ChannelInitializer that initializes the server bootstrap

    Definition Classes
    HttpsNettyBase
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. lazy val keyManagers: Array[KeyManager]
    Definition Classes
    Ssl
  26. lazy val keyStore: String
    Definition Classes
    Ssl
  27. lazy val keyStorePassword: String
    Definition Classes
    Ssl
  28. def makePlan(h: ⇒ ChannelHandler): Https
    Definition Classes
    Https → PlanServer
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def plan(plan: ChannelHandler): ServerBuilder
    Definition Classes
    PlanServer
  33. val port: Int

    port to listen on

    port to listen on

    Definition Classes
    HttpsNettyBase
  34. def portBindings: List[HttpPortBindingShim]
    Definition Classes
    NettyBase → StartableServer
  35. def requiredProperty(name: String): String
    Definition Classes
    Ssl
  36. def resources(path: URL, cacheSeconds: Int = 60, passOnFail: Boolean = true): ServerBuilder
    Definition Classes
    HttpServer
  37. def run(afterStart: (ServerBuilder) ⇒ Unit, afterStop: (ServerBuilder) ⇒ Unit): Unit
    Definition Classes
    RunnableServer
  38. def run(afterStart: (ServerBuilder) ⇒ Unit): Unit
    Definition Classes
    RunnableServer
  39. def run(): Unit
    Definition Classes
    RunnableServer
  40. 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
  41. def start(): ServerBuilder

    Starts default server bootstrap

    Starts default server bootstrap

    Definition Classes
    NettyBase → StartableServer
  42. def stop(): Https.this.type
    Definition Classes
    HttpServer → StartableServer
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. val url: String
    Definition Classes
    NettyBase
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  48. val workers: EventLoopGroup

    EventLoopGroup associated with handling client requests

    EventLoopGroup associated with handling client requests

    Attributes
    protected
    Definition Classes
    NettyBase

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ssl

Inherited from Security

Inherited from HttpServer

Inherited from PlanServer[ChannelHandler]

Inherited from NettyBase

Inherited from RunnableServer

Inherited from StartableServer

Inherited from util.Server

Inherited from AnyRef

Inherited from Any

Ungrouped