Module io.netty5.handler
Package io.netty5.handler.ssl
Class JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory
- java.lang.Object
-
- io.netty5.handler.ssl.JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory
-
- All Implemented Interfaces:
JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
- Enclosing interface:
- JdkApplicationProtocolNegotiator
public abstract static class JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory extends Object implements JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
-
-
Constructor Summary
Constructors Constructor Description AllocatorAwareSslEngineWrapperFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSLEngine
wrapSslEngine(SSLEngine engine, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer)
Abstract factory pattern for wrapping anSSLEngine
object.
-
-
-
Method Detail
-
wrapSslEngine
public final SSLEngine wrapSslEngine(SSLEngine engine, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer)
Description copied from interface:JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
Abstract factory pattern for wrapping anSSLEngine
object. This is useful for NPN/APLN support.- Specified by:
wrapSslEngine
in interfaceJdkApplicationProtocolNegotiator.SslEngineWrapperFactory
- 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
.
-
-