Module io.netty5.handler
Package io.netty5.handler.ssl
Interface JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
-
- All Known Implementing Classes:
JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory
- Enclosing interface:
- JdkApplicationProtocolNegotiator
public static interface JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
Abstract factory pattern for wrapping anSSLEngine
object. This is useful for NPN/APLN JDK support.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SSLEngine
wrapSslEngine(SSLEngine engine, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer)
Abstract factory pattern for wrapping anSSLEngine
object.
-
-
-
Method Detail
-
wrapSslEngine
SSLEngine wrapSslEngine(SSLEngine engine, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer)
Abstract factory pattern for wrapping anSSLEngine
object. This is useful for NPN/APLN support.- Parameters:
engine
- The engine to wrap.applicationNegotiator
- The application level protocol negotiatorisServer
-true
if the engine is for server side of connectionsfalse
if the engine is for client side of connections
- Returns:
- The resulting wrapped engine. This may just be
engine
.
-
-