public class SSLHandlerFactory extends Object
SslHandler instances.| Constructor and Description |
|---|
SSLHandlerFactory(SSLContext sslContext,
String[] enabledProtocols,
String[] enabledCipherSuites,
boolean clientMode,
boolean clientAuthentication,
int handshakeTimeoutMs,
int closeNotifyFlushTimeoutMs)
Create a new
SslHandler factory. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler |
createNettySSLHandler() |
org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler |
createNettySSLHandler(String hostname,
int port) |
public SSLHandlerFactory(SSLContext sslContext, String[] enabledProtocols, String[] enabledCipherSuites, boolean clientMode, boolean clientAuthentication, int handshakeTimeoutMs, int closeNotifyFlushTimeoutMs)
SslHandler factory.handshakeTimeoutMs - SSL session timeout during handshakes (-1 = use system default)closeNotifyFlushTimeoutMs - SSL session timeout after flushing the close_notify message (-1 = use system
default)public org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler createNettySSLHandler()
public org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler createNettySSLHandler(String hostname, int port)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.