public class H2ServerTlsStrategy extends Object implements TlsStrategy
TlsStrategy that upgrades inbound connections
with TLS security. This strategy will try to negotiate an application protocol
using TLS ALPN extension based on HttpVersionPolicy
passed to the strategy as an attachment. The strategy will also enforce restrictions on
TLS parameters required by the HTTP/2 specification.| Modifier and Type | Method and Description |
|---|---|
boolean |
upgrade(TransportSecurityLayer tlsSession,
HttpHost host,
SocketAddress localAddress,
SocketAddress remoteAddress,
Object attachment,
Timeout handshakeTimeout)
|
void |
upgrade(TransportSecurityLayer tlsSession,
NamedEndpoint endpoint,
Object attachment,
Timeout handshakeTimeout,
FutureCallback<TransportSecurityLayer> callback) |
@Deprecated public H2ServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
@Deprecated public H2ServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
@Deprecated public H2ServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLSessionVerifier verifier)
H2ServerTlsStrategy(SSLContext, SSLSessionVerifier)@Deprecated public H2ServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy)
H2ServerTlsStrategy(SSLContext)@Deprecated public H2ServerTlsStrategy(int... securePorts)
H2ServerTlsStrategy()public H2ServerTlsStrategy(SSLContext sslContext, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
public H2ServerTlsStrategy(SSLContext sslContext, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
public H2ServerTlsStrategy(SSLContext sslContext, SSLSessionVerifier verifier)
public H2ServerTlsStrategy(SSLContext sslContext)
public H2ServerTlsStrategy()
public void upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback)
upgrade in interface TlsStrategy@Deprecated public boolean upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)
upgrade in interface TlsStrategyCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.