public interface Connection
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Release any resources associated with this connection
|
<T> T |
execute(Request<T> request,
Map<String,String> extraHeaders,
String apiKey)
Synchronously execute the given request, using a different apiKey than the one associated with this connection
|
<T> T |
execute(Request<T> request,
String apiKey)
Synchronously execute the given request, using a different apiKey than the one associated with this connection
|
<T> T execute(Request<T> request, String apiKey)
T - the response typerequest - the request to executeapiKey - the apiKey of the user to make the request on behalf of<T> T execute(Request<T> request, Map<String,String> extraHeaders, String apiKey)
T - the response typerequest - the request to executeextraHeaders - any extra headers to send with the requestapiKey - the apiKey of the user to make the request on behalf ofvoid close()
Copyright © 2018. All rights reserved.