class AhcConfigBuilder extends AnyRef
Builds a valid AsyncHttpClientConfig object from config.
- Alphabetic
- By Inheritance
- AhcConfigBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AhcConfigBuilder(ahcConfig: AhcWSClientConfig = AhcWSClientConfig())
- ahcConfig
the ahc client configuration.
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
- val addCustomSettings: (Builder) => Builder
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build(): AsyncHttpClientConfig
Configure and build the
AsyncHttpClientConfigbased on the settings providedConfigure and build the
AsyncHttpClientConfigbased on the settings provided- returns
the resulting builder
- def buildKeyManagerFactory(ssl: SSLConfigSettings): KeyManagerFactoryWrapper
- def buildTrustManagerFactory(ssl: SSLConfigSettings): TrustManagerFactoryWrapper
- val builder: Builder
The underlying
DefaultAsyncHttpClientConfig.Builderused by this instance. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def configure(): Builder
Configure the underlying builder with values specified by the
config, and add any custom settings.Configure the underlying builder with values specified by the
config, and add any custom settings.- returns
the resulting builder
- def configureCipherSuites(existingCiphers: Array[String], sslConfig: SSLConfigSettings): Array[String]
- def configureProtocols(existingProtocols: Array[String], sslConfig: SSLConfigSettings): Array[String]
- def configureSSL(sslConfig: SSLConfigSettings): Unit
Configures the SSL.
Configures the SSL. Can use the system SSLContext.getDefault() if "ws.ssl.default" is set.
- def configureWS(ahcConfig: AhcWSClientConfig): Unit
Configures the global settings.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modifyUnderlying(modify: (Builder) => Builder): AhcConfigBuilder
Modify the underlying
DefaultAsyncHttpClientConfig.Builderusing the provided function, after defaults are set.Modify the underlying
DefaultAsyncHttpClientConfig.Builderusing the provided function, after defaults are set.- modify
function with custom settings to apply to this builder before the client is built
- returns
the new builder
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)