case class AhcWSClientConfig(wsClientConfig: WSClientConfig = WSClientConfig(), maxConnectionsPerHost: Int = -1, maxConnectionsTotal: Int = -1, maxConnectionLifetime: Duration = Duration.Inf, idleConnectionInPoolTimeout: Duration = 1.minute, connectionPoolCleanerPeriod: Duration = 1.second, maxNumberOfRedirects: Int = 5, maxRequestRetry: Int = 5, disableUrlEncoding: Boolean = false, keepAlive: Boolean = true, useLaxCookieEncoder: Boolean = false, useCookieStore: Boolean = false) extends Product with Serializable
Ahc client config.
- wsClientConfig
The general WS client config.
- maxConnectionsPerHost
The maximum number of connections to make per host. -1 means no maximum.
- maxConnectionsTotal
The maximum total number of connections. -1 means no maximum.
- maxConnectionLifetime
The maximum time that a connection should live for in the pool.
- idleConnectionInPoolTimeout
The time after which a connection that has been idle in the pool should be closed.
- connectionPoolCleanerPeriod
the frequency to cleanup timeout idle connections
- maxNumberOfRedirects
The maximum number of redirects.
- maxRequestRetry
The maximum number of times to retry a request if it fails.
- disableUrlEncoding
Whether the raw URL should be used.
- keepAlive
keeps thread pool active, replaces allowPoolingConnection and allowSslConnectionPool
- useLaxCookieEncoder
whether to use LAX(no cookie name/value verification) or STRICT (verifies cookie name/value) cookie decoder
- Alphabetic
- By Inheritance
- AhcWSClientConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AhcWSClientConfig(wsClientConfig: WSClientConfig = WSClientConfig(), maxConnectionsPerHost: Int = -1, maxConnectionsTotal: Int = -1, maxConnectionLifetime: Duration = Duration.Inf, idleConnectionInPoolTimeout: Duration = 1.minute, connectionPoolCleanerPeriod: Duration = 1.second, maxNumberOfRedirects: Int = 5, maxRequestRetry: Int = 5, disableUrlEncoding: Boolean = false, keepAlive: Boolean = true, useLaxCookieEncoder: Boolean = false, useCookieStore: Boolean = false)
- wsClientConfig
The general WS client config.
- maxConnectionsPerHost
The maximum number of connections to make per host. -1 means no maximum.
- maxConnectionsTotal
The maximum total number of connections. -1 means no maximum.
- maxConnectionLifetime
The maximum time that a connection should live for in the pool.
- idleConnectionInPoolTimeout
The time after which a connection that has been idle in the pool should be closed.
- connectionPoolCleanerPeriod
the frequency to cleanup timeout idle connections
- maxNumberOfRedirects
The maximum number of redirects.
- maxRequestRetry
The maximum number of times to retry a request if it fails.
- disableUrlEncoding
Whether the raw URL should be used.
- keepAlive
keeps thread pool active, replaces allowPoolingConnection and allowSslConnectionPool
- useLaxCookieEncoder
whether to use LAX(no cookie name/value verification) or STRICT (verifies cookie name/value) cookie decoder
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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val connectionPoolCleanerPeriod: Duration
- val disableUrlEncoding: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val idleConnectionInPoolTimeout: Duration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keepAlive: Boolean
- val maxConnectionLifetime: Duration
- val maxConnectionsPerHost: Int
- val maxConnectionsTotal: Int
- val maxNumberOfRedirects: Int
- val maxRequestRetry: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val useCookieStore: Boolean
- val useLaxCookieEncoder: Boolean
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val wsClientConfig: WSClientConfig
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)