com.heroku.api.connection
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 execute<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 executeextraHeaders
- any extra headers to send with the requestCopyright © 2014. All Rights Reserved.