Package org.apache.http.client.fluent
Class Async
- java.lang.Object
-
- org.apache.http.client.fluent.Async
-
public class Async extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.Future<Content>
execute(Request request)
<T> java.util.concurrent.Future<T>
execute(Request request, ResponseHandler<T> handler)
<T> java.util.concurrent.Future<T>
execute(Request request, ResponseHandler<T> handler, FutureCallback<T> callback)
java.util.concurrent.Future<Content>
execute(Request request, FutureCallback<Content> callback)
static Async
newInstance()
Async
use(java.util.concurrent.Executor concurrentExec)
Async
use(Executor executor)
-
-
-
Method Detail
-
newInstance
public static Async newInstance()
-
use
public Async use(java.util.concurrent.Executor concurrentExec)
-
execute
public <T> java.util.concurrent.Future<T> execute(Request request, ResponseHandler<T> handler, FutureCallback<T> callback)
-
execute
public <T> java.util.concurrent.Future<T> execute(Request request, ResponseHandler<T> handler)
-
execute
public java.util.concurrent.Future<Content> execute(Request request, FutureCallback<Content> callback)
-
-