public abstract static class JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory extends java.lang.Object implements JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
构造器和说明 |
---|
JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory() |
限定符和类型 | 方法和说明 |
---|---|
javax.net.ssl.SSLEngine |
wrapSslEngine(javax.net.ssl.SSLEngine engine,
JdkApplicationProtocolNegotiator applicationNegotiator,
boolean isServer)
Abstract factory pattern for wrapping an
SSLEngine object. |
public JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory()
public final javax.net.ssl.SSLEngine wrapSslEngine(javax.net.ssl.SSLEngine engine, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer)
SSLEngine
object. This is useful for NPN/APLN support.wrapSslEngine
在接口中 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
.