final case class BlazeClientConfig(responseHeaderTimeout: Duration, idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], sslContext: Option[SSLContext], checkEndpointIdentification: 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
- responseHeaderTimeout
duration between the completion of a request and the completion of the response header. Does not include time to acquire the connection or the time to read the response.
- idleTimeout
duration that a connection can wait without traffic being read or written before timeout
- requestTimeout
maximum duration for a request to complete before a timeout. Does not include time to acquire the the connection, but does include time to read the response
- userAgent
optional custom user agent header
- 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
- 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
- Source
- BlazeClientConfig.scala
- Alphabetic
- By Inheritance
- BlazeClientConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
BlazeClientConfig(responseHeaderTimeout: Duration, idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], sslContext: Option[SSLContext], checkEndpointIdentification: Boolean, maxResponseLineSize: Int, maxHeaderLength: Int, maxChunkSize: Int, lenientParser: Boolean, bufferSize: Int, customExecutor: Option[ExecutorService], group: Option[AsynchronousChannelGroup])
- responseHeaderTimeout
duration between the completion of a request and the completion of the response header. Does not include time to acquire the connection or the time to read the response.
- idleTimeout
duration that a connection can wait without traffic being read or written before timeout
- requestTimeout
maximum duration for a request to complete before a timeout. Does not include time to acquire the the connection, but does include time to read the response
- userAgent
optional custom user agent header
- 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
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bufferSize: Int
- val checkEndpointIdentification: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val customExecutor: Option[ExecutorService]
-
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
-
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
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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()
-
final
def
getClass(): Class[_]
- 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 maxHeaderLength: Int
- val maxResponseLineSize: 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()
- 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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