Packages

final case class BlazeClientConfig(responseHeaderTimeout: Duration, idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], maxTotalConnections: Int, maxWaitQueueLimit: Int, maxConnectionsPerRequestKey: (RequestKey) ⇒ Int, sslContext: Option[SSLContext], checkEndpointIdentification: Boolean, maxResponseLineSize: Int, maxHeaderLength: Int, maxChunkSize: Int, chunkBufferMaxSize: Int, lenientParser: Boolean, bufferSize: Int, executionContext: ExecutionContext, group: Option[AsynchronousChannelGroup]) extends Product with Serializable

Config object for the blaze clients

responseHeaderTimeout

duration between the submission of a request and the completion of the response header. Does not include time to read the response body.

idleTimeout

duration that a connection can wait without traffic being read or written before timeout

requestTimeout

maximum duration from the submission of a request through reading the body before a timeout.

userAgent

optional custom user agent header

maxTotalConnections

maximum connections the client will have at any specific time

maxWaitQueueLimit

maximum number requests waiting for a connection at any specific time

maxConnectionsPerRequestKey

Map of RequestKey to number of max connections

sslContext

optional custom SSLContext to use to replace the default, SSLContext.getDefault.

checkEndpointIdentification

require endpoint identification for secure requests according to RFC 2818, Section 3.1. If the certificate presented does not match the hostname of the request, the request fails with a CertificateException. This setting does not affect checking the validity of the cert via the sslContext's trust managers.

maxResponseLineSize

maximum length of the request line

maxHeaderLength

maximum length of headers

maxChunkSize

maximum size of chunked content chunks

chunkBufferMaxSize

Size of the buffer that is used when Content-Length header is not specified.

lenientParser

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

bufferSize

internal buffer size of the blaze client

executionContext

custom executionContext to run async computations.

group

custom AsynchronousChannelGroup to use other than the system default

Annotations
@deprecated
Deprecated

(Since version 0.19.0-M2) Use BlazeClientBuilder

Source
BlazeClientConfig.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlazeClientConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  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 BlazeClientConfig(responseHeaderTimeout: Duration, idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], maxTotalConnections: Int, maxWaitQueueLimit: Int, maxConnectionsPerRequestKey: (RequestKey) ⇒ Int, sslContext: Option[SSLContext], checkEndpointIdentification: Boolean, maxResponseLineSize: Int, maxHeaderLength: Int, maxChunkSize: Int, chunkBufferMaxSize: Int, lenientParser: Boolean, bufferSize: Int, executionContext: ExecutionContext, group: Option[AsynchronousChannelGroup])

    responseHeaderTimeout

    duration between the submission of a request and the completion of the response header. Does not include time to read the response body.

    idleTimeout

    duration that a connection can wait without traffic being read or written before timeout

    requestTimeout

    maximum duration from the submission of a request through reading the body before a timeout.

    userAgent

    optional custom user agent header

    maxTotalConnections

    maximum connections the client will have at any specific time

    maxWaitQueueLimit

    maximum number requests waiting for a connection at any specific time

    maxConnectionsPerRequestKey

    Map of RequestKey to number of max connections

    sslContext

    optional custom SSLContext to use to replace the default, SSLContext.getDefault.

    checkEndpointIdentification

    require endpoint identification for secure requests according to RFC 2818, Section 3.1. If the certificate presented does not match the hostname of the request, the request fails with a CertificateException. This setting does not affect checking the validity of the cert via the sslContext's trust managers.

    maxResponseLineSize

    maximum length of the request line

    maxHeaderLength

    maximum length of headers

    maxChunkSize

    maximum size of chunked content chunks

    chunkBufferMaxSize

    Size of the buffer that is used when Content-Length header is not specified.

    lenientParser

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

    bufferSize

    internal buffer size of the blaze client

    executionContext

    custom executionContext to run async computations.

    group

    custom AsynchronousChannelGroup to use other than the system default

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from BlazeClientConfig to any2stringadd[BlazeClientConfig] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BlazeClientConfig, B)
    Implicit
    This member is added by an implicit conversion from BlazeClientConfig to ArrowAssoc[BlazeClientConfig] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val bufferSize: Int
  8. val checkEndpointIdentification: Boolean
  9. val chunkBufferMaxSize: Int
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def ensuring(cond: (BlazeClientConfig) ⇒ Boolean, msg: ⇒ Any): BlazeClientConfig
    Implicit
    This member is added by an implicit conversion from BlazeClientConfig to Ensuring[BlazeClientConfig] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (BlazeClientConfig) ⇒ Boolean): BlazeClientConfig
    Implicit
    This member is added by an implicit conversion from BlazeClientConfig to Ensuring[BlazeClientConfig] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): BlazeClientConfig
    Implicit
    This member is added by an implicit conversion from BlazeClientConfig to Ensuring[BlazeClientConfig] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): BlazeClientConfig
    Implicit
    This member is added by an implicit conversion from BlazeClientConfig to Ensuring[BlazeClientConfig] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val executionContext: ExecutionContext
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from BlazeClientConfig to StringFormat[BlazeClientConfig] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. val group: Option[AsynchronousChannelGroup]
  21. val idleTimeout: Duration
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val lenientParser: Boolean
  24. val maxChunkSize: Int
  25. val maxConnectionsPerRequestKey: (RequestKey) ⇒ Int
  26. val maxHeaderLength: Int
  27. val maxResponseLineSize: Int
  28. val maxTotalConnections: Int
  29. val maxWaitQueueLimit: Int
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. val requestTimeout: Duration
  34. val responseHeaderTimeout: Duration
  35. val sslContext: Option[SSLContext]
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. val userAgent: Option[User-Agent]
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  41. def [B](y: B): (BlazeClientConfig, B)
    Implicit
    This member is added by an implicit conversion from BlazeClientConfig to ArrowAssoc[BlazeClientConfig] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def endpointAuthentication: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16) Parameter has been renamed to checkEndpointIdentification

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped