Uses of Class
org.apache.hc.client5.http.protocol.HttpClientContext
Packages that use HttpClientContext
Package
Description
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
HTTP client APIs based on the asynchronous, event driven I/O model.
Caching APIs for both the classic and the asynchronous
HTTP transports.
HTTP client APIs based on the classic (blocking) I/O model.
Simple facade APIs for HttpClient based on the concept of
a fluent interface.
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Standard and common HTTP authentication schemes.
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
-
Uses of HttpClientContext in org.apache.hc.client5.http
Methods in org.apache.hc.client5.http that return HttpClientContext -
Uses of HttpClientContext in org.apache.hc.client5.http.async
Fields in org.apache.hc.client5.http.async declared as HttpClientContextMethods in org.apache.hc.client5.http.async with parameters of type HttpClientContextModifier and TypeMethodDescriptionorg.apache.hc.core5.concurrent.CancellableAsyncExecRuntime.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.CancellableAsyncExecRuntime.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).org.apache.hc.core5.concurrent.CancellableAsyncExecRuntime.execute(String id, org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler, HttpClientContext context) Initiates a message exchange using the given handler.voidAsyncExecRuntime.upgradeTls(HttpClientContext context) Upgrades transport security of the active connection by using the TLS security protocol.default voidAsyncExecRuntime.upgradeTls(HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) Upgrades transport security of the active connection by using the TLS security protocol.Constructors in org.apache.hc.client5.http.async with parameters of type HttpClientContextModifierConstructorDescriptionScope(String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest originalRequest, org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency, HttpClientContext clientContext, AsyncExecRuntime execRuntime) Deprecated.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) -
Uses of HttpClientContext in org.apache.hc.client5.http.cache
Subclasses of HttpClientContext in org.apache.hc.client5.http.cacheModifier and TypeClassDescriptionclassAdaptor class that provides convenience type safe setters and getters for cachingHttpContextattributes. -
Uses of HttpClientContext in org.apache.hc.client5.http.classic
Fields in org.apache.hc.client5.http.classic declared as HttpClientContextMethods in org.apache.hc.client5.http.classic with parameters of type HttpClientContextModifier and TypeMethodDescriptionvoidExecRuntime.acquireEndpoint(String id, HttpRoute route, Object state, HttpClientContext context) Acquires a connection endpoint.voidExecRuntime.connectEndpoint(HttpClientContext context) 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).org.apache.hc.core5.http.ClassicHttpResponseExecRuntime.execute(String id, org.apache.hc.core5.http.ClassicHttpRequest request, HttpClientContext context) Executes HTTP request using the given context.voidExecRuntime.upgradeTls(HttpClientContext context) Upgrades transport security of the active connection by using the TLS security protocol.Constructors in org.apache.hc.client5.http.classic with parameters of type HttpClientContextModifierConstructorDescriptionScope(String exchangeId, HttpRoute route, org.apache.hc.core5.http.ClassicHttpRequest originalRequest, ExecRuntime execRuntime, HttpClientContext clientContext) -
Uses of HttpClientContext in org.apache.hc.client5.http.fluent
Methods in org.apache.hc.client5.http.fluent with parameters of type HttpClientContextModifier and TypeMethodDescription(package private) org.apache.hc.core5.http.ClassicHttpResponseRequest.internalExecute(CloseableHttpClient client, HttpClientContext localContext) -
Uses of HttpClientContext in org.apache.hc.client5.http.impl.async
Methods in org.apache.hc.client5.http.impl.async with parameters of type HttpClientContextModifier and TypeMethodDescriptionorg.apache.hc.core5.concurrent.CancellableInternalH2AsyncExecRuntime.acquireEndpoint(String id, HttpRoute route, Object object, HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) org.apache.hc.core5.concurrent.CancellableInternalHttpAsyncExecRuntime.acquireEndpoint(String id, HttpRoute route, Object object, HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) org.apache.hc.core5.concurrent.CancellableInternalH2AsyncExecRuntime.connectEndpoint(HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) org.apache.hc.core5.concurrent.CancellableInternalHttpAsyncExecRuntime.connectEndpoint(HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) (package private) abstract HttpRouteInternalAbstractHttpAsyncClient.determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext) (package private) HttpRouteInternalH2AsyncClient.determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext) (package private) HttpRouteInternalHttpAsyncClient.determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext) org.apache.hc.core5.concurrent.CancellableInternalH2AsyncExecRuntime.execute(String id, org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler, HttpClientContext context) org.apache.hc.core5.concurrent.CancellableInternalHttpAsyncExecRuntime.execute(String id, org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler, HttpClientContext context) private Future<AsyncConnectionEndpoint> MinimalHttpAsyncClient.leaseEndpoint(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.util.Timeout connectionRequestTimeout, org.apache.hc.core5.util.Timeout connectTimeout, HttpClientContext clientContext, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) private booleanAsyncConnectExec.needAuthentication(AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) private booleanAsyncProtocolExec.needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) private voidInternalAbstractHttpAsyncClient.setupContext(HttpClientContext context) voidInternalH2AsyncExecRuntime.upgradeTls(HttpClientContext context) voidInternalH2AsyncExecRuntime.upgradeTls(HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) voidInternalHttpAsyncExecRuntime.upgradeTls(HttpClientContext context) voidInternalHttpAsyncExecRuntime.upgradeTls(HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) -
Uses of HttpClientContext in org.apache.hc.client5.http.impl.auth
Methods in org.apache.hc.client5.http.impl.auth with parameters of type HttpClientContextModifier and TypeMethodDescriptionprivate voidAuthCacheKeeper.clearCache(org.apache.hc.core5.http.HttpHost host, String pathPrefix, HttpClientContext clientContext) private static PasswordAuthenticationSystemDefaultCredentialsProvider.getSystemCreds(String protocol, AuthScope authScope, Authenticator.RequestorType requestorType, HttpClientContext context) private AuthSchemeAuthCacheKeeper.loadFromCache(org.apache.hc.core5.http.HttpHost host, String pathPrefix, HttpClientContext clientContext) private voidAuthCacheKeeper.updateCache(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthScheme authScheme, HttpClientContext clientContext) -
Uses of HttpClientContext in org.apache.hc.client5.http.impl.classic
Methods in org.apache.hc.client5.http.impl.classic with parameters of type HttpClientContextModifier and TypeMethodDescriptionvoidInternalExecRuntime.acquireEndpoint(String id, HttpRoute route, Object object, HttpClientContext context) private voidInternalExecRuntime.connectEndpoint(ConnectionEndpoint endpoint, HttpClientContext context) voidInternalExecRuntime.connectEndpoint(HttpClientContext context) private booleanConnectExec.createTunnelToProxy(HttpRoute route, int hop, HttpClientContext context) Creates a tunnel to an intermediate proxy.private booleanConnectExec.createTunnelToTarget(String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest request, ExecRuntime execRuntime, HttpClientContext context) Creates a tunnel to the target server.org.apache.hc.core5.http.ClassicHttpResponseInternalExecRuntime.execute(String id, org.apache.hc.core5.http.ClassicHttpRequest request, HttpClientContext context) private booleanProtocolExec.needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) private voidInternalHttpClient.setupContext(HttpClientContext context) voidInternalExecRuntime.upgradeTls(HttpClientContext context) -
Uses of HttpClientContext in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol that return HttpClientContextModifier and TypeMethodDescriptionstatic HttpClientContextHttpClientContext.adapt(org.apache.hc.core5.http.protocol.HttpContext context) static HttpClientContextHttpClientContext.create()
Scope(String, HttpRoute, HttpRequest, CancellableDependency, HttpClientContext, AsyncExecRuntime, Scheduler, AtomicInteger)