Class/Object

org.http4s.server.blaze

BlazeBuilder

Related Docs: object BlazeBuilder | package blaze

Permalink

class BlazeBuilder[F[_]] extends ServerBuilder[F] with IdleTimeoutSupport[F] with SSLKeyStoreSupport[F] with SSLContextSupport[F] with server.WebSocketSupport[F]

Linear Supertypes
server.WebSocketSupport[F], SSLContextSupport[F], SSLKeyStoreSupport[F], IdleTimeoutSupport[F], ServerBuilder[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlazeBuilder
  2. WebSocketSupport
  3. SSLContextSupport
  4. SSLKeyStoreSupport
  5. IdleTimeoutSupport
  6. ServerBuilder
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BlazeBuilder(socketAddress: InetSocketAddress, executionContext: ExecutionContext, idleTimeout: Duration, isNio2: Boolean, connectorPoolSize: Int, bufferSize: Int, enableWebSockets: Boolean, sslBits: Option[SSLConfig], isHttp2Enabled: Boolean, maxRequestLineLen: Int, maxHeadersLen: Int, serviceMounts: Vector[ServiceMount[F]], serviceErrorHandler: ServiceErrorHandler[F], banner: Seq[String])(implicit F: Effect[F])

    Permalink

Type Members

  1. type Self = BlazeBuilder[F]

    Permalink
    Definition Classes
    BlazeBuilder → ServerBuilder

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def bindAny(host: String): Self

    Permalink
    Definition Classes
    ServerBuilder
  6. final def bindHttp(port: Int, host: String): Self

    Permalink
    Definition Classes
    ServerBuilder
  7. final def bindLocal(port: Int): Self

    Permalink
    Definition Classes
    ServerBuilder
  8. def bindSocketAddress(socketAddress: InetSocketAddress): Self

    Permalink
    Definition Classes
    BlazeBuilder → ServerBuilder
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def enableHttp2(enabled: Boolean): Self

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  17. def mountService(service: HttpService[F], prefix: String): Self

    Permalink
    Definition Classes
    BlazeBuilder → ServerBuilder
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. final def serve(implicit F: Async[F]): Stream[F, ExitCode]

    Permalink
    Definition Classes
    ServerBuilder
  22. def start: F[Server[F]]

    Permalink
    Definition Classes
    BlazeBuilder → ServerBuilder
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def withBanner(banner: Seq[String]): Self

    Permalink
    Definition Classes
    BlazeBuilder → ServerBuilder
  29. def withBufferSize(size: Int): Self

    Permalink
  30. def withConnectorPoolSize(size: Int): Self

    Permalink
  31. def withExecutionContext(executionContext: ExecutionContext): BlazeBuilder[F]

    Permalink
    Definition Classes
    BlazeBuilder → ServerBuilder
  32. def withIdleTimeout(idleTimeout: Duration): Self

    Permalink
    Definition Classes
    BlazeBuilder → IdleTimeoutSupport
  33. def withLengthLimits(maxRequestLineLen: Int = maxRequestLineLen, maxHeadersLen: Int = maxHeadersLen): Self

    Permalink

    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

  34. def withNio2(isNio2: Boolean): Self

    Permalink
  35. def withSSL(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: Boolean): Self

    Permalink
    Definition Classes
    BlazeBuilder → SSLKeyStoreSupport
  36. def withSSLContext(sslContext: SSLContext, clientAuth: Boolean): Self

    Permalink
    Definition Classes
    BlazeBuilder → SSLContextSupport
  37. def withServiceErrorHandler(serviceErrorHandler: ServiceErrorHandler[F]): Self

    Permalink
    Definition Classes
    BlazeBuilder → ServerBuilder
  38. def withWebSockets(enableWebsockets: Boolean): Self

    Permalink
    Definition Classes
    BlazeBuilder → WebSocketSupport
  39. final def withoutBanner: Self

    Permalink
    Definition Classes
    ServerBuilder

Deprecated Value Members

  1. def withExecutorService(executorService: ExecutorService): Self

    Permalink
    Definition Classes
    ServerBuilder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17) Use withExecutionContext

  2. def withServiceExecutor(executorService: ExecutorService): Self

    Permalink
    Definition Classes
    ServerBuilder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Use withExecutionContext

Inherited from server.WebSocketSupport[F]

Inherited from SSLContextSupport[F]

Inherited from SSLKeyStoreSupport[F]

Inherited from IdleTimeoutSupport[F]

Inherited from ServerBuilder[F]

Inherited from AnyRef

Inherited from Any

Ungrouped