Interface JdkApplicationProtocolNegotiator.SslEngineWrapperFactory

    • Method Detail

      • wrapSslEngine

        SSLEngine wrapSslEngine​(SSLEngine engine,
                                JdkApplicationProtocolNegotiator applicationNegotiator,
                                boolean isServer)
        Abstract factory pattern for wrapping an SSLEngine object. This is useful for NPN/APLN support.
        Parameters:
        engine - The engine to wrap.
        applicationNegotiator - The application level protocol negotiator
        isServer -
        • true if the engine is for server side of connections
        • false if the engine is for client side of connections
        Returns:
        The resulting wrapped engine. This may just be engine.