Modifier and Type | Method and Description |
---|---|
Future<Content> |
execute(Request request) |
Future<Content> |
execute(Request request,
org.apache.hc.core5.concurrent.FutureCallback<Content> callback) |
<T> Future<T> |
execute(Request request,
org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler) |
<T> Future<T> |
execute(Request request,
org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler,
org.apache.hc.core5.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, org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler, org.apache.hc.core5.concurrent.FutureCallback<T> callback)
public <T> Future<T> execute(Request request, org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler)
public Future<Content> execute(Request request, org.apache.hc.core5.concurrent.FutureCallback<Content> callback)
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.