Class/Object

org.http4s.server.blaze

BlazeBuilder

Related Docs: object BlazeBuilder | package blaze

Permalink

class BlazeBuilder extends ServerBuilder with IdleTimeoutSupport with SSLSupport with server.WebSocketSupport

Source
BlazeServer.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlazeBuilder
  2. WebSocketSupport
  3. SSLSupport
  4. IdleTimeoutSupport
  5. ServerBuilder
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BlazeBuilder(socketAddress: InetSocketAddress, serviceExecutor: ExecutorService, idleTimeout: Duration, isNio2: Boolean, connectorPoolSize: Int, bufferSize: Int, enableWebSockets: Boolean, sslBits: Option[SSLBits], isHttp2Enabled: Boolean, maxRequestLineLen: Int, maxHeadersLen: Int, serviceMounts: Vector[ServiceMount])

    Permalink

Type Members

  1. type Self = BlazeBuilder

    Permalink
    Definition Classes
    BlazeBuilderServerBuilder

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from BlazeBuilder to any2stringadd[BlazeBuilder] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BlazeBuilder, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from BlazeBuilder to ArrowAssoc[BlazeBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. final def bindAny(host: String = DefaultHost): Self

    Permalink
    Definition Classes
    ServerBuilder
  8. final def bindHttp(port: Int = DefaultHttpPort, host: String = DefaultHost): Self

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

    Permalink
    Definition Classes
    ServerBuilder
  10. def bindSocketAddress(socketAddress: InetSocketAddress): BlazeBuilder

    Permalink
    Definition Classes
    BlazeBuilderServerBuilder
  11. def clone(): AnyRef

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

    Permalink
  13. def ensuring(cond: (BlazeBuilder) ⇒ Boolean, msg: ⇒ Any): BlazeBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from BlazeBuilder to Ensuring[BlazeBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (BlazeBuilder) ⇒ Boolean): BlazeBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from BlazeBuilder to Ensuring[BlazeBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): BlazeBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from BlazeBuilder to Ensuring[BlazeBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): BlazeBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from BlazeBuilder to Ensuring[BlazeBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from BlazeBuilder to StringFormat[BlazeBuilder] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  24. def mountService(service: HttpService, prefix: String): BlazeBuilder

    Permalink
    Definition Classes
    BlazeBuilderServerBuilder
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. final def run: Server

    Permalink

    Convenience method to run a server.

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

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

    Permalink

    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
  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withBufferSize(size: Int): BlazeBuilder

    Permalink
  36. def withConnectorPoolSize(size: Int): BlazeBuilder

    Permalink
  37. def withIdleTimeout(idleTimeout: Duration): BlazeBuilder

    Permalink
    Definition Classes
    BlazeBuilderIdleTimeoutSupport
  38. def withLengthLimits(maxRequestLineLen: Int = maxRequestLineLen, maxHeadersLen: Int = maxHeadersLen): BlazeBuilder

    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

  39. def withNio2(isNio2: Boolean): BlazeBuilder

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

    Permalink
    Definition Classes
    BlazeBuilderSSLSupport
  41. def withServiceExecutor(serviceExecutor: ExecutorService): BlazeBuilder

    Permalink
    Definition Classes
    BlazeBuilderServerBuilder
  42. def withWebSockets(enableWebsockets: Boolean): Self

    Permalink
    Definition Classes
    BlazeBuilderWebSocketSupport
  43. def [B](y: B): (BlazeBuilder, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from BlazeBuilder to ArrowAssoc[BlazeBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from server.WebSocketSupport

Inherited from SSLSupport

Inherited from IdleTimeoutSupport

Inherited from ServerBuilder

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from BlazeBuilder to any2stringadd[BlazeBuilder]

Inherited by implicit conversion StringFormat from BlazeBuilder to StringFormat[BlazeBuilder]

Inherited by implicit conversion Ensuring from BlazeBuilder to Ensuring[BlazeBuilder]

Inherited by implicit conversion ArrowAssoc from BlazeBuilder to ArrowAssoc[BlazeBuilder]

Ungrouped