public class SSLHandlerFactory extends Object
SslHandler instances.| 构造器和说明 |
|---|
SSLHandlerFactory(org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext sslContext,
int handshakeTimeoutMs,
int closeNotifyFlushTimeoutMs)
Create a new
SslHandler factory. |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler |
createNettySSLHandler(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBufAllocator allocator) |
org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler |
createNettySSLHandler(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBufAllocator allocator,
String hostname,
int port) |
public SSLHandlerFactory(org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext sslContext,
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(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBufAllocator allocator)
public org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler createNettySSLHandler(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBufAllocator allocator,
String hostname,
int port)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.