Module io.netty5.handler
Package io.netty5.handler.ssl
Interface JdkApplicationProtocolNegotiator.ProtocolSelectorFactory
-
- Enclosing interface:
- JdkApplicationProtocolNegotiator
public static interface JdkApplicationProtocolNegotiator.ProtocolSelectorFactory
Factory interface forJdkApplicationProtocolNegotiator.ProtocolSelector
objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JdkApplicationProtocolNegotiator.ProtocolSelector
newSelector(SSLEngine engine, Set<String> supportedProtocols)
Generate a new instance ofJdkApplicationProtocolNegotiator.ProtocolSelector
.
-
-
-
Method Detail
-
newSelector
JdkApplicationProtocolNegotiator.ProtocolSelector newSelector(SSLEngine engine, Set<String> supportedProtocols)
Generate a new instance ofJdkApplicationProtocolNegotiator.ProtocolSelector
.- Parameters:
engine
- TheSSLEngine
that the returnedJdkApplicationProtocolNegotiator.ProtocolSelector
will be used to create an instance for.supportedProtocols
- The protocols that are supported.- Returns:
- A new instance of
JdkApplicationProtocolNegotiator.ProtocolSelector
.
-
-