F - the type of 'Future' that this connection will returnpublic interface AsyncConnection<F> extends Connection
| Modifier and Type | Method and Description |
|---|---|
<T> F |
executeAsync(Request<T> request,
Map<String,String> extraHeaders,
String apiKey)
Asynchronously execute the given request with, using a different apiKey than the one associated with this connection
|
<T> F |
executeAsync(Request<T> request,
String apiKey)
Asynchronously execute the given request with, using a different apiKey than the one associated with this connection
|
close, execute, execute<T> F executeAsync(Request<T> request, String apiKey)
T - The Type of the Response when parsed by the request, returned by the Futurerequest - The request to executeapiKey - API key for Heroku<T> F executeAsync(Request<T> request, Map<String,String> extraHeaders, String apiKey)
T - The Type of the Response when parsed by the request, returned by the Futurerequest - The request to executeapiKey - API key for HerokuextraHeaders - any extra headers to send with the requestCopyright © 2018. All rights reserved.