public static interface JdkApplicationProtocolNegotiator.ProtocolSelectionListenerFactory
Modifier and Type | Method and Description |
---|---|
JdkApplicationProtocolNegotiator.ProtocolSelectionListener |
newListener(javax.net.ssl.SSLEngine engine, java.util.List<java.lang.String> supportedProtocols)
|
JdkApplicationProtocolNegotiator.ProtocolSelectionListener newListener(javax.net.ssl.SSLEngine engine, java.util.List<java.lang.String> supportedProtocols)
engine
-该SSLEngine
返回的JdkApplicationProtocolNegotiator.ProtocolSelectionListener
将被用于创建一个实例。
supportedProtocols
- 按优先顺序支持的协议。
JdkApplicationProtocolNegotiator.ProtocolSelectionListener
.
Copyright © 2008–2018 The Netty Project. All rights reserved.