Builds a valid AsyncHttpClientConfig object from config.
Logs StandaloneWSRequest and pulls information into Curl format to an SLF4J logger.
Useful mapping code.
Ahc client config.
Ahc client config.
The general WS client config.
The maximum number of connections to make per host. -1 means no maximum.
The maximum total number of connections. -1 means no maximum.
The maximum time that a connection should live for in the pool.
The time after which a connection that has been idle in the pool should be closed.
The maximum number of redirects.
The maximum number of times to retry a request if it fails.
Whether the raw URL should be used.
keeps thread pool active, replaces allowPoolingConnection and allowSslConnectionPool
whether to use LAX(no cookie name/value verification) or STRICT (verifies cookie name/value) cookie decoder
This class creates a AhcWSClientConfig object from configuration.
This class creates a AhcWSClientConfig object from configuration.
A WS client backed by an AsyncHttpClient.
A WS client backed by an AsyncHttpClient.
If you need to debug AsyncHttpClient, add <logger name="play.shaded.ahc.org.asynchttpclient" level="DEBUG" /> into your conf/logback.xml file.
A Ahc WS Request.
A WS HTTP response backed by org.asynchttpclient.Response.
A streamed response containing a response header and a streamable body.
A streamed response containing a response header and a streamable body.
Note that this is only usable with a stream call, i.e.
class MyClass extends StreamedBodyReadable { ws.url("http://example.com").stream().map { response => val source = response.body[Source[ByteString, NotUsed]] ... } }
Converts between AHC cookie and the WS cookie.
Factory for creating AhcWSClientConfig, for use from Java.
Logs StandaloneWSRequest and pulls information into Curl format to an SLF4J logger.
https://curl.haxx.se/