Class InternalHttpAsyncClient

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, HttpAsyncClient, org.apache.hc.core5.io.ModalCloseable

    @Contract(threading=SAFE_CONDITIONAL)
    @Internal
    public final class InternalHttpAsyncClient
    extends InternalAbstractHttpAsyncClient
    Internal implementation of CloseableHttpAsyncClient that can negotiate the most optimal HTTP protocol version during during the TLS handshake with ALPN extension if supported by the Java runtime.

    Concurrent message exchanges executed by this client will get assigned to separate connections leased from the connection pool.

    Since:
    5.0