Uses of Class
org.apache.hc.client5.http.protocol.HttpClientContext
-
Packages that use HttpClientContext Package Description org.apache.hc.client5.http 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.org.apache.hc.client5.http.async HTTP client APIs based on the asynchronous, event driven I/O model.org.apache.hc.client5.http.cache Caching APIs for both the classic and the asynchronous HTTP transports.org.apache.hc.client5.http.classic HTTP client APIs based on the classic (blocking) I/O model.org.apache.hc.client5.http.fluent Simple facade APIs for HttpClient based on the concept of a fluent interface.org.apache.hc.client5.http.impl.async Asynchronous HTTP client API implementation that supports both HTTP/2 and HTTP/1.1 transport.org.apache.hc.client5.http.impl.auth Standard and common HTTP authentication schemes.org.apache.hc.client5.http.impl.classic Classic HTTP client API implementation that supports HTTP/1.1 transport only.org.apache.hc.client5.http.protocol 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 Modifier and Type Method Description HttpClientContext
ContextBuilder. build()
-
Uses of HttpClientContext in org.apache.hc.client5.http.async
Fields in org.apache.hc.client5.http.async declared as HttpClientContext Modifier and Type Field Description HttpClientContext
AsyncExecChain.Scope. clientContext
Methods in org.apache.hc.client5.http.async with parameters of type HttpClientContext Modifier and Type Method Description org.apache.hc.core5.concurrent.Cancellable
AsyncExecRuntime. acquireEndpoint(java.lang.String id, HttpRoute route, java.lang.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).org.apache.hc.core5.concurrent.Cancellable
AsyncExecRuntime. execute(java.lang.String id, org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler, HttpClientContext context)
Initiates a message exchange using the given handler.void
AsyncExecRuntime. upgradeTls(HttpClientContext context)
Upgrades transport security of the active connection by using the TLS security protocol.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.Constructors in org.apache.hc.client5.http.async with parameters of type HttpClientContext Constructor Description Scope(java.lang.String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest originalRequest, org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency, HttpClientContext clientContext, AsyncExecRuntime execRuntime)
Scope(java.lang.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, java.util.concurrent.atomic.AtomicInteger execCount)
-
Uses of HttpClientContext in org.apache.hc.client5.http.cache
Subclasses of HttpClientContext in org.apache.hc.client5.http.cache Modifier and Type Class Description class
HttpCacheContext
Adaptor class that provides convenience type safe setters and getters for cachingHttpContext
attributes. -
Uses of HttpClientContext in org.apache.hc.client5.http.classic
Fields in org.apache.hc.client5.http.classic declared as HttpClientContext Modifier and Type Field Description HttpClientContext
ExecChain.Scope. clientContext
Methods in org.apache.hc.client5.http.classic with parameters of type HttpClientContext Modifier and Type Method Description void
ExecRuntime. acquireEndpoint(java.lang.String id, HttpRoute route, java.lang.Object state, HttpClientContext context)
Acquires a connection endpoint.void
ExecRuntime. 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.ClassicHttpResponse
ExecRuntime. execute(java.lang.String id, org.apache.hc.core5.http.ClassicHttpRequest request, HttpClientContext context)
Executes HTTP request using the given context.void
ExecRuntime. 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 HttpClientContext Constructor Description Scope(java.lang.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 HttpClientContext Modifier and Type Method Description (package private) org.apache.hc.core5.http.ClassicHttpResponse
Request. 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 HttpClientContext Modifier and Type Method Description org.apache.hc.core5.concurrent.Cancellable
InternalH2AsyncExecRuntime. acquireEndpoint(java.lang.String id, HttpRoute route, java.lang.Object object, HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
org.apache.hc.core5.concurrent.Cancellable
InternalHttpAsyncExecRuntime. acquireEndpoint(java.lang.String id, HttpRoute route, java.lang.Object object, HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
org.apache.hc.core5.concurrent.Cancellable
InternalH2AsyncExecRuntime. connectEndpoint(HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
org.apache.hc.core5.concurrent.Cancellable
InternalHttpAsyncExecRuntime. connectEndpoint(HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
(package private) abstract HttpRoute
InternalAbstractHttpAsyncClient. determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext)
(package private) HttpRoute
InternalH2AsyncClient. determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext)
(package private) HttpRoute
InternalHttpAsyncClient. determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext)
org.apache.hc.core5.concurrent.Cancellable
InternalH2AsyncExecRuntime. execute(java.lang.String id, org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler, HttpClientContext context)
org.apache.hc.core5.concurrent.Cancellable
InternalHttpAsyncExecRuntime. execute(java.lang.String id, org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler, HttpClientContext context)
private java.util.concurrent.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 boolean
AsyncConnectExec. needAuthentication(AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context)
private boolean
AsyncProtocolExec. needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, java.lang.String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context)
private void
InternalAbstractHttpAsyncClient. setupContext(HttpClientContext context)
void
InternalH2AsyncExecRuntime. upgradeTls(HttpClientContext context)
void
InternalH2AsyncExecRuntime. upgradeTls(HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback)
void
InternalHttpAsyncExecRuntime. upgradeTls(HttpClientContext context)
void
InternalHttpAsyncExecRuntime. 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 HttpClientContext Modifier and Type Method Description private void
AuthCacheKeeper. clearCache(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, HttpClientContext clientContext)
private static java.net.PasswordAuthentication
SystemDefaultCredentialsProvider. getSystemCreds(java.lang.String protocol, AuthScope authScope, java.net.Authenticator.RequestorType requestorType, HttpClientContext context)
private AuthScheme
AuthCacheKeeper. loadFromCache(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, HttpClientContext clientContext)
private void
AuthCacheKeeper. updateCache(org.apache.hc.core5.http.HttpHost host, java.lang.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 HttpClientContext Modifier and Type Method Description void
InternalExecRuntime. acquireEndpoint(java.lang.String id, HttpRoute route, java.lang.Object object, HttpClientContext context)
private void
InternalExecRuntime. connectEndpoint(ConnectionEndpoint endpoint, HttpClientContext context)
void
InternalExecRuntime. connectEndpoint(HttpClientContext context)
private boolean
ConnectExec. createTunnelToProxy(HttpRoute route, int hop, HttpClientContext context)
Creates a tunnel to an intermediate proxy.private boolean
ConnectExec. createTunnelToTarget(java.lang.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.ClassicHttpResponse
InternalExecRuntime. execute(java.lang.String id, org.apache.hc.core5.http.ClassicHttpRequest request, HttpClientContext context)
private boolean
ProtocolExec. needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, java.lang.String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context)
private void
InternalHttpClient. setupContext(HttpClientContext context)
void
InternalExecRuntime. upgradeTls(HttpClientContext context)
-
Uses of HttpClientContext in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol that return HttpClientContext Modifier and Type Method Description static HttpClientContext
HttpClientContext. adapt(org.apache.hc.core5.http.protocol.HttpContext context)
static HttpClientContext
HttpClientContext. create()
-