SslEngineWrapperFactory

cc.otavia.handler.ssl.protocol.SslEngineWrapperFactory

Abstract factory pattern for wrapping an SSLEngine object. This is useful for NPN/APLN JDK support.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AlpnWrapper

Members list

Value members

Abstract methods

def wrapSslEngine(engine: SSLEngine, applicationNegotiator: JdkApplicationProtocolNegotiator, isServer: Boolean): SSLEngine

Abstract factory pattern for wrapping an SSLEngine object. This is useful for NPN/APLN support.

Abstract factory pattern for wrapping an SSLEngine object. This is useful for NPN/APLN support.

Value parameters

applicationNegotiator

The application level protocol negotiator

engine

The engine to wrap.

isServer
  • true if the engine is for server side of connections
  • false if the engine is for client side of connections

Attributes

Returns

The resulting wrapped engine. This may just be engine.