public final class AhcWSClientConfigFactory
extends java.lang.Object
Constructor and Description |
---|
AhcWSClientConfigFactory() |
Modifier and Type | Method and Description |
---|---|
static play.api.libs.ws.ahc.AhcWSClientConfig |
forClientConfig(play.api.libs.ws.WSClientConfig config)
Creates a AhcWSClientConfig with defaults from a WSClientConfig configuration object.
|
static play.api.libs.ws.ahc.AhcWSClientConfig |
forConfig(com.typesafe.config.Config config,
java.lang.ClassLoader classLoader)
Creates a AhcWSClientConfig from a Typesafe Config object.
|
public static play.api.libs.ws.ahc.AhcWSClientConfig forConfig(com.typesafe.config.Config config, java.lang.ClassLoader classLoader)
config
- the config file containing settings for WSConfigParserclassLoader
- the classloaderpublic static play.api.libs.ws.ahc.AhcWSClientConfig forClientConfig(play.api.libs.ws.WSClientConfig config)
config
- the basic WSClientConfig configuration object.