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).
|
Constructor and Description |
---|
AsyncExecChain.Scope(String exchangeId,
HttpRoute route,
org.apache.hc.core5.http.HttpRequest originalRequest,
org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency,
HttpClientContext clientContext,
AsyncExecRuntime execRuntime) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.