com.ning.http.client.extra
Class ListenableFutureAdapter
java.lang.Object
com.ning.http.client.extra.ListenableFutureAdapter
public final class ListenableFutureAdapter
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListenableFutureAdapter
public ListenableFutureAdapter()
asGuavaFuture
public static <V> com.google.common.util.concurrent.ListenableFuture<V> asGuavaFuture(ListenableFuture<V> future)
- Parameters:
future
- an AHC ListenableFuture
- Returns:
- a Guava ListenableFuture
Copyright © 2014. All Rights Reserved.