Package | Description |
---|---|
org.apache.hc.client5.http.async |
HTTP client APIs based on the asynchronous, event driven I/O model.
|
Modifier and Type | Field and Description |
---|---|
AsyncExecRuntime |
AsyncExecChain.Scope.execRuntime |
Modifier and Type | Method and Description |
---|---|
AsyncExecRuntime |
AsyncExecRuntime.fork()
Forks this runtime for parallel execution.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hc.core5.concurrent.Cancellable |
AsyncExecRuntime.acquireEndpoint(String id,
HttpRoute route,
Object state,
HttpClientContext context,
org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
Initiates operation to acquire a connection endpoint.
|
org.apache.hc.core5.concurrent.Cancellable |
AsyncExecRuntime.connectEndpoint(HttpClientContext context,
org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
Initiates operation to connect the local endpoint to the initial hop (connection
target in case of a direct route or to the first proxy hop in case of a route
via a proxy or multiple proxies).
|
default void |
AsyncExecRuntime.upgradeTls(HttpClientContext context,
org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
Upgrades transport security of the active connection by using the TLS security protocol.
|
Constructor and Description |
---|
Scope(String exchangeId,
HttpRoute route,
org.apache.hc.core5.http.HttpRequest originalRequest,
org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency,
HttpClientContext clientContext,
AsyncExecRuntime execRuntime)
Deprecated.
Use
Scope#Scope(String, HttpRoute, HttpRequest, CancellableDependency, HttpClientContext,
AsyncExecRuntime, Scheduler, AtomicInteger) |
Scope(String exchangeId,
HttpRoute route,
org.apache.hc.core5.http.HttpRequest originalRequest,
org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency,
HttpClientContext clientContext,
AsyncExecRuntime execRuntime,
AsyncExecChain.Scheduler scheduler,
AtomicInteger execCount) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.