case class HttpClientConfig(maxResponseLineLength: Int = 2 * 1048, maxHeadersLength: Int = 8 * 1024, lenientParser: Boolean = false, channelGroup: Option[AsynchronousChannelGroup] = None, sslContext: Option[SSLContext] = None) extends Product with Serializable
Configuration object for creating a HttpClient
- maxResponseLineLength
maximum permissible length of the initial response line
- maxHeadersLength
maximum combined length of the headers
- lenientParser
whether to be lenient in HTTP/1.x parsing
- channelGroup
the
AsynchronousChannelGroupused to multiplex connections on- sslContext
SSLContextto use for secure connections
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpClientConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new HttpClientConfig(maxResponseLineLength: Int = 2 * 1048, maxHeadersLength: Int = 8 * 1024, lenientParser: Boolean = false, channelGroup: Option[AsynchronousChannelGroup] = None, sslContext: Option[SSLContext] = None)
- maxResponseLineLength
maximum permissible length of the initial response line
- maxHeadersLength
maximum combined length of the headers
- lenientParser
whether to be lenient in HTTP/1.x parsing
- channelGroup
the
AsynchronousChannelGroupused to multiplex connections on- sslContext
SSLContextto use for secure connections
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 channelGroup: Option[AsynchronousChannelGroup]
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getClientSslEngine(): SSLEngine
Get a new SSlEngine set to ClientMode.
Get a new SSlEngine set to ClientMode.
If the SslContext of this config is not defined, the default will be used.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lenientParser: Boolean
- val maxHeadersLength: Int
- val maxResponseLineLength: 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 sslContext: Option[SSLContext]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()