## 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.impl.async | Asynchronous HTTP client API implementation that supports both HTTP/2 and HTTP/1.1 transport.
  org.apache.hc.client5.http.impl.cache | Caching API implementation for both the classic and the asynchronous HTTP transports.
  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

    Classes in org.apache.hc.client5.http with type parameters of type HttpClientContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractClientContextBuilder<T extends HttpClientContext>` Abstract `HttpClientContext` builder.

    Methods in org.apache.hc.client5.http that return HttpClientContext
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpClientContext` | ContextBuilder.`createContext()`

  - ### 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 and Description
    --- | ---
    `HttpClientContext` | AsyncExecChain.Scope.`clientContext`

    Methods in org.apache.hc.client5.http.async with parameters of type HttpClientContext
    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).
    `org.apache.hc.core5.concurrent.Cancellable` | AsyncExecRuntime.`execute(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 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)`

  - ### Uses of HttpClientContext in org.apache.hc.client5.http.cache

    Subclasses of HttpClientContext in org.apache.hc.client5.http.cache
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HttpCacheContext` Cache execution `HttpContext`.

  - ### 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 and Description
    --- | ---
    `HttpClientContext` | ExecChain.Scope.`clientContext`

    Methods in org.apache.hc.client5.http.classic with parameters of type HttpClientContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExecRuntime.`acquireEndpoint(String id, HttpRoute route, 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(String id, org.apache.hc.core5.http.ClassicHttpRequest request, HttpClientContext context)` Executes HTTP request using the given context.
    `default org.apache.hc.core5.http.ClassicHttpResponse` | ExecRuntime.`execute(String id, org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.io.HttpResponseInformationCallback informationCallback, 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 and Description
    `Scope(String exchangeId, HttpRoute route, org.apache.hc.core5.http.ClassicHttpRequest originalRequest, ExecRuntime execRuntime, HttpClientContext clientContext)`

  - ### Uses of HttpClientContext in org.apache.hc.client5.http.impl.async

    Methods in org.apache.hc.client5.http.impl.async that return types with arguments of type HttpClientContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Function<org.apache.hc.core5.http.protocol.HttpContext,HttpClientContext>` | HttpAsyncClientBuilder.`contextAdaptor()`

  - ### Uses of HttpClientContext in org.apache.hc.client5.http.impl.cache

    Methods in org.apache.hc.client5.http.impl.cache that return types with arguments of type HttpClientContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Function<org.apache.hc.core5.http.protocol.HttpContext,HttpClientContext>` | CachingHttpAsyncClientBuilder.`contextAdaptor()`
    `protected Function<org.apache.hc.core5.http.protocol.HttpContext,HttpClientContext>` | CachingHttpClientBuilder.`contextAdaptor()`

  - ### Uses of HttpClientContext in org.apache.hc.client5.http.impl.classic

    Methods in org.apache.hc.client5.http.impl.classic that return types with arguments of type HttpClientContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Function<org.apache.hc.core5.http.protocol.HttpContext,HttpClientContext>` | HttpClientBuilder.`contextAdaptor()`

  - ### 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 and Description
    --- | ---
    `static HttpClientContext` | HttpClientContext.`adapt(org.apache.hc.core5.http.protocol.HttpContext context)` Deprecated. Use `castOrCreate(HttpContext)`.
    `static HttpClientContext` | HttpClientContext.`cast(org.apache.hc.core5.http.protocol.HttpContext context)` Casts the given generic `HttpContext` as `HttpClientContext`.
    `static HttpClientContext` | HttpClientContext.`castOrCreate(org.apache.hc.core5.http.protocol.HttpContext context)` Casts the given generic `HttpContext` as `HttpClientContext` or creates new `HttpClientContext` if the given context is null.
    `static HttpClientContext` | HttpClientContext.`create()`

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.