@Deprecated public class AsyncHttpClientImpl extends AsyncHttpClient implements HttpClient
httpClient| Constructor and Description |
|---|
AsyncHttpClientImpl(long timeout)
Deprecated.
use
AsyncHttpClient instead. |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<java.lang.String> |
get(java.lang.String url)
Deprecated.
Performs a GET request with the given url using the client from
org.asynchttpclient.
|
getStringCompletableFuturepublic AsyncHttpClientImpl(long timeout)
AsyncHttpClient instead.timeout - The milliseconds before the client should timeout and return the default
value.public java.util.concurrent.CompletableFuture<java.lang.String> get(java.lang.String url)
get in interface HttpClientget in class AsyncHttpClienturl - a valid url representing a call to the Participant API.