public class H2ServerTlsStrategy extends Object implements TlsStrategy
TlsStrategy
that upgrades to TLS for endpoints
with the specified local ports.Constructor and Description |
---|
H2ServerTlsStrategy(int... securePorts) |
H2ServerTlsStrategy(SSLContext sslContext,
SecurePortStrategy securePortStrategy) |
H2ServerTlsStrategy(SSLContext sslContext,
SecurePortStrategy securePortStrategy,
SSLBufferMode sslBufferMode,
SSLSessionInitializer initializer,
SSLSessionVerifier verifier) |
H2ServerTlsStrategy(SSLContext sslContext,
SecurePortStrategy securePortStrategy,
SSLSessionInitializer initializer,
SSLSessionVerifier verifier) |
H2ServerTlsStrategy(SSLContext sslContext,
SecurePortStrategy securePortStrategy,
SSLSessionVerifier verifier) |
Modifier and Type | Method and Description |
---|---|
boolean |
upgrade(TransportSecurityLayer tlsSession,
HttpHost host,
SocketAddress localAddress,
SocketAddress remoteAddress,
Object attachment,
Timeout handshakeTimeout) |
public H2ServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
public H2ServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
public H2ServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLSessionVerifier verifier)
public H2ServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy)
public H2ServerTlsStrategy(int... securePorts)
public boolean upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)
upgrade
in interface TlsStrategy
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.