public interface HttpClient
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<java.lang.String> |
get(java.lang.String url)
Performs a GET request using the provided url.
|
java.util.concurrent.CompletableFuture<java.lang.String> get(java.lang.String url)
This call is asynchronous, the request is sent and a completable future is returned. The future is completed when the result of the request returns. The timeout of the request is determined in the implementation of the HttpClient.
url - a valid url representing a call to the Participant API.