public class Requester extends Object implements Closeable
| Constructor and Description | 
|---|
Requester(String apiKey,
         org.asynchttpclient.AsyncHttpClient client)
Creates a requester with APIKEY and specified CLIENT. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
CompletableFuture<org.asynchttpclient.Response> | 
getRequestAsync(String rootUrl,
               String relativeUrl,
               List<org.asynchttpclient.Param> params)
Sends a get request to rootUrl + relativeUrl asynchronously. 
 | 
public Requester(String apiKey, org.asynchttpclient.AsyncHttpClient client)
public CompletableFuture<org.asynchttpclient.Response> getRequestAsync(String rootUrl, String relativeUrl, List<org.asynchttpclient.Param> params)
rootUrl - relativeUrl - public void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2019. All rights reserved.