Constructor and Description |
---|
AhcWSClient(org.asynchttpclient.AsyncHttpClientConfig config,
akka.stream.Materializer materializer) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this client, and releases underlying resources.
|
java.lang.Object |
getUnderlying()
The underlying implementation of the client, if any.
|
WSRequest |
url(java.lang.String url)
Returns a WSRequest object representing the URL.
|
public AhcWSClient(org.asynchttpclient.AsyncHttpClientConfig config, akka.stream.Materializer materializer)
public java.lang.Object getUnderlying()
WSClient
getUnderlying
in interface WSClient
public WSRequest url(java.lang.String url)
WSClient
Promise<WSResponse>
.public void close() throws java.io.IOException
WSClient