Packages

object BlazeBuilder extends BlazeBuilder

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlazeBuilder
  2. BlazeBuilder
  3. WebSocketSupport
  4. SSLSupport
  5. IdleTimeoutSupport
  6. ServerBuilder
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Self = BlazeBuilder
    Definition Classes
    BlazeBuilderServerBuilder

Value Members

  1. final def bindAny(host: String = DefaultHost): Self
    Definition Classes
    ServerBuilder
  2. final def bindHttp(port: Int = DefaultHttpPort, host: String = DefaultHost): Self
    Definition Classes
    ServerBuilder
  3. final def bindLocal(port: Int): Self
    Definition Classes
    ServerBuilder
  4. def bindSocketAddress(socketAddress: InetSocketAddress): BlazeBuilder
    Definition Classes
    BlazeBuilderServerBuilder
  5. def enableHttp2(enabled: Boolean): BlazeBuilder
    Definition Classes
    BlazeBuilder
  6. def mountService(service: HttpService, prefix: String): BlazeBuilder
    Definition Classes
    BlazeBuilderServerBuilder
  7. final def run: Server

    Convenience method to run a server.

    Convenience method to run a server. The method blocks until the server is started.

    Definition Classes
    ServerBuilder
  8. def start: Task[Server]

    Returns a task to start a server.

    Returns a task to start a server. The task completes with a reference to the server when it has started.

    Definition Classes
    BlazeBuilderServerBuilder
  9. def withBufferSize(size: Int): BlazeBuilder
    Definition Classes
    BlazeBuilder
  10. def withConnectorPoolSize(size: Int): BlazeBuilder
    Definition Classes
    BlazeBuilder
  11. def withIdleTimeout(idleTimeout: Duration): BlazeBuilder
    Definition Classes
    BlazeBuilderIdleTimeoutSupport
  12. def withLengthLimits(maxRequestLineLen: Int = maxRequestLineLen, maxHeadersLen: Int = maxHeadersLen): BlazeBuilder

    Configure HTTP parser length limits

    Configure HTTP parser length limits

    These are to avoid denial of service attacks due to, for example, an infinite request line.

    maxRequestLineLen

    maximum request line to parse

    maxHeadersLen

    maximum data that compose headers

    Definition Classes
    BlazeBuilder
  13. def withNio2(isNio2: Boolean): BlazeBuilder
    Definition Classes
    BlazeBuilder
  14. def withSSL(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: Boolean): Self
    Definition Classes
    BlazeBuilderSSLSupport
  15. def withServiceExecutor(serviceExecutor: ExecutorService): BlazeBuilder
    Definition Classes
    BlazeBuilderServerBuilder
  16. def withWebSockets(enableWebsockets: Boolean): Self
    Definition Classes
    BlazeBuilderWebSocketSupport