org.http4s.client.blaze

BlazeClientConfig

case class BlazeClientConfig(idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], sslContext: Option[SSLContext], endpointAuthentication: Boolean, maxResponseLineSize: Int, maxHeaderLength: Int, maxChunkSize: Int, lenientParser: Boolean, bufferSize: Int, customExecutor: Option[ExecutorService], group: Option[AsynchronousChannelGroup]) extends Product with Serializable

Config object for the blaze clients

idleTimeout

duration that a connection can wait without traffic before timeout

requestTimeout

maximum duration for a request to complete before a timeout

userAgent

optional custom user agent header

sslContext

optional custom SSLContext to use to replace the default

endpointAuthentication

require endpoint authentication for encrypted connections

maxResponseLineSize

maximum length of the request line

maxHeaderLength

maximum length of headers

maxChunkSize

maximum size of chunked content chunks

lenientParser

a lenient parser will accept illegal chars but replaces them with � (0xFFFD)

bufferSize

internal buffer size of the blaze client

customExecutor

custom executor to run async computations. Will not be shutdown with client.

group

custom AsynchronousChannelGroup to use other than the system default

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BlazeClientConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BlazeClientConfig(idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], sslContext: Option[SSLContext], endpointAuthentication: Boolean, maxResponseLineSize: Int, maxHeaderLength: Int, maxChunkSize: Int, lenientParser: Boolean, bufferSize: Int, customExecutor: Option[ExecutorService], group: Option[AsynchronousChannelGroup])

    idleTimeout

    duration that a connection can wait without traffic before timeout

    requestTimeout

    maximum duration for a request to complete before a timeout

    userAgent

    optional custom user agent header

    sslContext

    optional custom SSLContext to use to replace the default

    endpointAuthentication

    require endpoint authentication for encrypted connections

    maxResponseLineSize

    maximum length of the request line

    maxHeaderLength

    maximum length of headers

    maxChunkSize

    maximum size of chunked content chunks

    lenientParser

    a lenient parser will accept illegal chars but replaces them with � (0xFFFD)

    bufferSize

    internal buffer size of the blaze client

    customExecutor

    custom executor to run async computations. Will not be shutdown with client.

    group

    custom AsynchronousChannelGroup to use other than the system default

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  7. val bufferSize: Int

    internal buffer size of the blaze client

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val customExecutor: Option[ExecutorService]

    custom executor to run async computations.

    custom executor to run async computations. Will not be shutdown with client.

  10. val endpointAuthentication: Boolean

    require endpoint authentication for encrypted connections

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

    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. val group: Option[AsynchronousChannelGroup]

    custom AsynchronousChannelGroup to use other than the system default

  15. val idleTimeout: Duration

    duration that a connection can wait without traffic before timeout

  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val lenientParser: Boolean

    a lenient parser will accept illegal chars but replaces them with � (0xFFFD)

  18. val maxChunkSize: Int

    maximum size of chunked content chunks

  19. val maxHeaderLength: Int

    maximum length of headers

  20. val maxResponseLineSize: Int

    maximum length of the request line

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. val requestTimeout: Duration

    maximum duration for a request to complete before a timeout

  25. val sslContext: Option[SSLContext]

    optional custom SSLContext to use to replace the default

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. val userAgent: Option[User-Agent]

    optional custom user agent header

  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped