com.heroku.api.connection
Class JerseyClientAsyncConnection
java.lang.Object
com.heroku.api.connection.JerseyClientAsyncConnection
- All Implemented Interfaces:
- AsyncConnection<Future<?>>, Connection
public class JerseyClientAsyncConnection
- extends Object
- implements AsyncConnection<Future<?>>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JerseyClientAsyncConnection
public JerseyClientAsyncConnection()
JerseyClientAsyncConnection
public JerseyClientAsyncConnection(com.sun.jersey.api.client.Client client)
executeAsync
public <T> Future<T> executeAsync(Request<T> request,
String apiKey)
- Specified by:
executeAsync in interface AsyncConnection<Future<?>>
execute
public <T> T execute(Request<T> request,
String key)
- Specified by:
execute in interface Connection
close
public void close()
- Specified by:
close in interface Connection
Copyright © 2012. All Rights Reserved.