AhcConfigBuilder

play.api.libs.ws.ahc.AhcConfigBuilder

Builds a valid AsyncHttpClientConfig object from config.

Value parameters

ahcConfig

the ahc client configuration.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def build(): AsyncHttpClientConfig

Configure and build the AsyncHttpClientConfig based on the settings provided

Configure and build the AsyncHttpClientConfig based on the settings provided

Attributes

Returns

the resulting builder

def buildKeyManagerFactory(ssl: SSLConfigSettings): KeyManagerFactoryWrapper
def buildTrustManagerFactory(ssl: SSLConfigSettings): TrustManagerFactoryWrapper
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.

Attributes

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. Can use the system SSLContext.getDefault() if "ws.ssl.default" is set.

Configures the SSL. Can use the system SSLContext.getDefault() if "ws.ssl.default" is set.

Attributes

def configureWS(ahcConfig: AhcWSClientConfig): Unit

Configures the global settings.

Configures the global settings.

Attributes

def modifyUnderlying(modify: Builder => Builder): AhcConfigBuilder

Modify the underlying DefaultAsyncHttpClientConfig.Builder using the provided function, after defaults are set.

Modify the underlying DefaultAsyncHttpClientConfig.Builder using the provided function, after defaults are set.

Value parameters

modify

function with custom settings to apply to this builder before the client is built

Attributes

Returns

the new builder

Concrete fields

val builder: Builder

The underlying DefaultAsyncHttpClientConfig.Builder used by this instance.

The underlying DefaultAsyncHttpClientConfig.Builder used by this instance.

Attributes