public class Async extends Object
Modifier and Type | Method and Description |
---|---|
Future<Content> |
execute(Request request) |
Future<Content> |
execute(Request request,
org.apache.http.concurrent.FutureCallback<Content> callback) |
<T> Future<T> |
execute(Request request,
ResponseHandler<T> handler) |
<T> Future<T> |
execute(Request request,
ResponseHandler<T> handler,
org.apache.http.concurrent.FutureCallback<T> callback) |
static Async |
newInstance() |
Async |
use(Executor executor) |
Async |
use(Executor concurrentExec) |
public static Async newInstance()
public <T> Future<T> execute(Request request, ResponseHandler<T> handler, org.apache.http.concurrent.FutureCallback<T> callback)
public <T> Future<T> execute(Request request, ResponseHandler<T> handler)
public Future<Content> execute(Request request, org.apache.http.concurrent.FutureCallback<Content> callback)
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.