| Package | Description | 
|---|---|
| org.apache.hc.core5.http.nio.ssl | TLS protocol support. | 
| org.apache.hc.core5.http2.ssl | HTTP/2 specific TLS protocol support. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | BasicClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| boolean | TlsStrategy. upgrade(TransportSecurityLayer sessionLayer,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| boolean | BasicServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| 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 | 
|---|---|
| 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 | 
|---|---|
| boolean | H2ServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| boolean | ConscryptServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| boolean | H2ClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| boolean | ConscryptClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| 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 | 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 | Interface and Description | 
|---|---|
| interface  | ProtocolIOSessionTLS capable, protocol upgradable  IOSession. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.