public static interface JdkApplicationProtocolNegotiator.SslEngineWrapperFactory
SSLEngine
object. This is useful for NPN/APLN JDK support.限定符和类型 | 方法和说明 |
---|---|
javax.net.ssl.SSLEngine |
wrapSslEngine(javax.net.ssl.SSLEngine engine,
JdkApplicationProtocolNegotiator applicationNegotiator,
boolean isServer)
Abstract factory pattern for wrapping an
SSLEngine object. |
javax.net.ssl.SSLEngine wrapSslEngine(javax.net.ssl.SSLEngine engine, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer)
SSLEngine
object. This is useful for NPN/APLN support.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
.