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
SSLContextto 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
AsynchronousChannelGroupto use other than the system default
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.0-M2) Use BlazeClientBuilder
- Source
- BlazeClientConfig.scala
- Alphabetic
- By Inheritance
- BlazeClientConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
SSLContextto 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
AsynchronousChannelGroupto use other than the system default
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bufferSize: Int
- val checkEndpointIdentification: Boolean
- val chunkBufferMaxSize: Int
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val executionContext: ExecutionContext
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val group: Option[AsynchronousChannelGroup]
- val idleTimeout: Duration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lenientParser: Boolean
- val maxChunkSize: Int
- val maxConnectionsPerRequestKey: (RequestKey) => Int
- val maxHeaderLength: Int
- val maxResponseLineSize: Int
- val maxTotalConnections: Int
- val maxWaitQueueLimit: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestTimeout: Duration
- val responseHeaderTimeout: Duration
- val sslContext: Option[SSLContext]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val userAgent: Option[User-Agent]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def endpointAuthentication: Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 0.16) Parameter has been renamed to
checkEndpointIdentification