public abstract static class JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory extends java.lang.Object implements JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
Constructor and Description |
---|
AllocatorAwareSslEngineWrapperFactory() |
Modifier and Type | Method and Description |
---|---|
javax.net.ssl.SSLEngine |
wrapSslEngine(javax.net.ssl.SSLEngine engine,
JdkApplicationProtocolNegotiator applicationNegotiator,
boolean isServer)
Abstract factory pattern for wrapping an
SSLEngine object. |
public AllocatorAwareSslEngineWrapperFactory()
public final javax.net.ssl.SSLEngine wrapSslEngine(javax.net.ssl.SSLEngine engine, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer)
JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
SSLEngine
object. This is useful for NPN/APLN support.wrapSslEngine
in interface JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
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 connectionsengine
.Copyright © 2008–2018 The Netty Project. All rights reserved.