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