Package org.apache.hc.client5.http.impl.async
package org.apache.hc.client5.http.impl.async
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
-
ClassDescriptionRequest execution handler in the asynchronous request execution chain that is responsible for establishing connection to the target origin server as specified by the current connection route.Request executor in the asynchronous request execution chain that is responsible for making a decision whether a request that failed due to an I/O exception or received a specific response from the target server should be re-executed.Request execution handler in the asynchronous request execution chain that is responsible for implementation of HTTP specification requirements.Request execution handler in the asynchronous request execution chain responsible for handling of request redirects.Base implementation of
HttpAsyncClientthat also implementsModalCloseable.Builder for HTTP/2 onlyCloseableHttpAsyncClientinstances.Usually the last HTTP/2 request execution handler in the asynchronous request execution chain that is responsible for execution of request / response exchanges with the opposite endpoint.Builder forCloseableHttpAsyncClientinstances that can negotiate the most optimal HTTP protocol version during theTLShandshake withALPNextension if supported by the Java runtime.Factory methods forCloseableHttpAsyncClientinstances.Usually the last HTTP/1.1 request execution handler in the asynchronous request execution chain that is responsible for execution of request/response exchanges with the opposite endpoint.Internal implementation of HTTP/2 onlyCloseableHttpAsyncClient.Internal implementation ofCloseableHttpAsyncClientthat can negotiate the most optimal HTTP protocol version during during theTLShandshake withALPNextension if supported by the Java runtime.Minimal implementation of HTTP/2 onlyCloseableHttpAsyncClient.Minimal implementation ofCloseableHttpAsyncClient.