| Package | Description | 
|---|---|
| org.apache.hc.core5.http | Core HTTP transport component APIs. | 
| org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap. | 
| org.apache.hc.core5.http.nio.ssl | TLS protocol support. | 
| org.apache.hc.core5.http2.impl.nio.bootstrap | HTTP/2 capable requester and server bootstrap. | 
| org.apache.hc.core5.http2.ssl | HTTP/2 specific TLS protocol support. | 
| org.apache.hc.core5.net | Core network component APIs and utilities. | 
| org.apache.hc.core5.reactor | Event driven network communication APIs and components loosely based on
 Doug Lea's
 reactor pattern. | 
| org.apache.hc.core5.reactor.ssl | TLS/SSL support for I/O reactors. | 
| org.apache.hc.core5.testing.nio | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HttpHostComponent that holds all details needed to describe an HTTP connection
 to a host. | 
| Constructor and Description | 
|---|
| HttpHost(String scheme,
        NamedEndpoint namedEndpoint) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | HttpAsyncRequester. doTlsUpgrade(ProtocolIOSession ioSession,
            NamedEndpoint endpoint,
            FutureCallback<ProtocolIOSession> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TlsUpgradeCapable. tlsUpgrade(NamedEndpoint endpoint,
          FutureCallback<ProtocolIOSession> callback) | 
| void | BasicClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       NamedEndpoint endpoint,
       Object attachment,
       Timeout handshakeTimeout,
       FutureCallback<TransportSecurityLayer> callback) | 
| default void | TlsStrategy. upgrade(TransportSecurityLayer sessionLayer,
       NamedEndpoint endpoint,
       Object attachment,
       Timeout handshakeTimeout,
       FutureCallback<TransportSecurityLayer> callback)Secures current session layer with TLS. | 
| void | BasicServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       NamedEndpoint endpoint,
       Object attachment,
       Timeout handshakeTimeout,
       FutureCallback<TransportSecurityLayer> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | H2AsyncRequester. doTlsUpgrade(ProtocolIOSession ioSession,
            NamedEndpoint endpoint,
            FutureCallback<ProtocolIOSession> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | H2ServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       NamedEndpoint endpoint,
       Object attachment,
       Timeout handshakeTimeout,
       FutureCallback<TransportSecurityLayer> callback) | 
| void | ConscryptServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       NamedEndpoint endpoint,
       Object attachment,
       Timeout handshakeTimeout,
       FutureCallback<TransportSecurityLayer> callback) | 
| void | H2ClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       NamedEndpoint endpoint,
       Object attachment,
       Timeout handshakeTimeout,
       FutureCallback<TransportSecurityLayer> callback) | 
| void | ConscryptClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       NamedEndpoint endpoint,
       Object attachment,
       Timeout handshakeTimeout,
       FutureCallback<TransportSecurityLayer> callback) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HostComponent that holds all details needed to describe a network connection
 to a host. | 
| class  | URIAuthorityRepresents authority component of request  URI. | 
| Modifier and Type | Method and Description | 
|---|---|
| URIBuilder | URIBuilder. setAuthority(NamedEndpoint authority)Sets the authority. | 
| Constructor and Description | 
|---|
| URIAuthority(NamedEndpoint namedEndpoint) | 
| URIAuthority(String userInfo,
            NamedEndpoint endpoint) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EndpointParametersEndpoint initialization parameters | 
| Modifier and Type | Method and Description | 
|---|---|
| NamedEndpoint | ProtocolIOSession. getInitialEndpoint() | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<IOSession> | ConnectionInitiator. connect(NamedEndpoint remoteEndpoint,
       SocketAddress remoteAddress,
       SocketAddress localAddress,
       Timeout timeout,
       Object attachment,
       FutureCallback<IOSession> callback)Requests a connection to a remote host. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SSLSessionInitializer. initialize(NamedEndpoint endpoint,
          SSLEngine sslEngine)Triggered when the SSL connection is being initialized. | 
| void | TransportSecurityLayer. startTls(SSLContext sslContext,
        NamedEndpoint endpoint,
        SSLBufferMode sslBufferMode,
        SSLSessionInitializer initializer,
        SSLSessionVerifier verifier,
        Timeout handshakeTimeout)Starts TLS session over an existing network connection with the given SSL context. | 
| default void | TransportSecurityLayer. startTls(SSLContext sslContext,
        NamedEndpoint endpoint,
        SSLBufferMode sslBufferMode,
        SSLSessionInitializer initializer,
        SSLSessionVerifier verifier,
        Timeout handshakeTimeout,
        FutureCallback<TransportSecurityLayer> callback)Starts TLS session over an existing network connection with the given SSL context. | 
| TlsDetails | SSLSessionVerifier. verify(NamedEndpoint endpoint,
      SSLEngine sslEngine)Triggered when the SSL connection has been established and initial SSL
 handshake has been successfully completed. | 
| Constructor and Description | 
|---|
| SSLIOSession(NamedEndpoint targetEndpoint,
            IOSession session,
            SSLMode sslMode,
            SSLContext sslContext,
            SSLBufferMode sslBufferMode,
            SSLSessionInitializer initializer,
            SSLSessionVerifier verifier,
            Callback<SSLIOSession> sessionStartCallback,
            Callback<SSLIOSession> sessionEndCallback,
            Timeout connectTimeout)Creates new instance of  SSLIOSessionclass. | 
| SSLIOSession(NamedEndpoint targetEndpoint,
            IOSession session,
            SSLMode sslMode,
            SSLContext sslContext,
            SSLBufferMode sslBufferMode,
            SSLSessionInitializer initializer,
            SSLSessionVerifier verifier,
            Timeout handshakeTimeout,
            Callback<SSLIOSession> sessionStartCallback,
            Callback<SSLIOSession> sessionEndCallback,
            FutureCallback<SSLSession> resultCallback)Creates new instance of  SSLIOSessionclass. | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<IOSession> | AsyncRequester. connect(NamedEndpoint remoteEndpoint,
       SocketAddress remoteAddress,
       SocketAddress localAddress,
       Timeout timeout,
       Object attachment,
       FutureCallback<IOSession> callback) | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.