com.ning.http.client.extra
Class ListenableFutureAdapter

java.lang.Object
  extended by com.ning.http.client.extra.ListenableFutureAdapter

public final class ListenableFutureAdapter
extends Object


Constructor Summary
ListenableFutureAdapter()
           
 
Method Summary
static
<V> com.google.common.util.concurrent.ListenableFuture<V>
asGuavaFuture(ListenableFuture<V> future)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenableFutureAdapter

public ListenableFutureAdapter()
Method Detail

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.