TlsStrategy that upgrades to TLS for all endpoints
with HTTPS scheme.
| Modifier and Type | Field and Description |
|---|---|
| private final SSLSessionInitializer | |
| private final SSLBufferMode | |
| private final SSLContext | |
| private final SSLSessionVerifier |
| Access | Constructor and Description |
|---|---|
| public | H2ClientTlsStrategy(final SSLContext sslContext, final SSLBufferMode sslBufferMode, final SSLSessionInitializer initializer, final SSLSessionVerifier verifier)
|
| public | H2ClientTlsStrategy(final SSLContext sslContext, final SSLSessionInitializer initializer, final SSLSessionVerifier verifier)
|
| public | |
| public | |
| public | |
| public | H2ClientTlsStrategy(final SSLSessionVerifier
the custom verifier)SSLSessionVerifier.Constructor with the default SSL context based on system properties and custom |
| Modifier and Type | Method and Description |
|---|---|
| public void | upgrade(final TransportSecurityLayer
the session layer tlsSession, final NamedEndpoint the name of the opposite endpoint when applicable or endpoint, final Object null otherwise.arbitrary object passes to the TLS session initialization code. attachment, final Timeout the timeout to use while performing the TLS handshake; may be handshakeTimeout, final FutureCallback<TransportSecurityLayer> null.Operation result callback. callback)Overrides default org. |
| public boolean | upgrade(final TransportSecurityLayer
the session layer tlsSession, final HttpHost the name of the opposite endpoint when given or host, final SocketAddress null otherwise.the address of the local endpoint. localAddress, final SocketAddress the address of the remote endpoint. remoteAddress, final Object arbitrary object passes to the TLS session initialization code. attachment, final Timeout the timeout to use while performing the TLS handshake; may be handshakeTimeout)null.Implements org. |
| initializer | back to summary |
|---|---|
| private final SSLSessionInitializer initializer | |
| sslBufferMode | back to summary |
|---|---|
| private final SSLBufferMode sslBufferMode | |
| sslContext | back to summary |
|---|---|
| private final SSLContext sslContext | |
| verifier | back to summary |
|---|---|
| private final SSLSessionVerifier verifier | |
| H2ClientTlsStrategy | back to summary |
|---|---|
| public H2ClientTlsStrategy(final SSLContext sslContext, final SSLBufferMode sslBufferMode, final SSLSessionInitializer initializer, final SSLSessionVerifier verifier) | |
| H2ClientTlsStrategy | back to summary |
|---|---|
| public H2ClientTlsStrategy(final SSLContext sslContext, final SSLSessionInitializer initializer, final SSLSessionVerifier verifier) | |
| H2ClientTlsStrategy | back to summary |
|---|---|
| public H2ClientTlsStrategy(final SSLContext sslContext, final SSLSessionVerifier verifier) | |
| H2ClientTlsStrategy | back to summary |
|---|---|
| public H2ClientTlsStrategy(final SSLContext sslContext) | |
| H2ClientTlsStrategy | back to summary |
|---|---|
| public H2ClientTlsStrategy() | |
| H2ClientTlsStrategy | back to summary |
|---|---|
| public H2ClientTlsStrategy(final SSLSessionVerifier verifier) Constructor with the default SSL context based on system properties and custom
| |
| upgrade | back to summary |
|---|---|
| public void upgrade(final TransportSecurityLayer tlsSession, final NamedEndpoint endpoint, final Object attachment, final Timeout handshakeTimeout, final FutureCallback<TransportSecurityLayer> callback) Overrides default org. Doc from org. Secures current session layer with TLS.
| |
| upgrade | back to summary |
|---|---|
| public boolean upgrade(final TransportSecurityLayer tlsSession, final HttpHost host, final SocketAddress localAddress, final SocketAddress remoteAddress, final Object attachment, final Timeout handshakeTimeout) Implements org. Doc from org. Secures current session layer with TLS.
| |