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