Class JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory

    • Constructor Detail

      • AllocatorAwareSslEngineWrapperFactory

        public AllocatorAwareSslEngineWrapperFactory()
    • Method Detail

      • wrapSslEngine

        abstract javax.net.ssl.SSLEngine wrapSslEngine​(javax.net.ssl.SSLEngine engine,
                                                       ByteBufAllocator alloc,
                                                       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.
        alloc - the buffer allocator.
        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.