Class SslClientConnectionFactory

    • Field Detail

      • SSL_CONTEXT_FACTORY_CONTEXT_KEY

        public static final java.lang.String SSL_CONTEXT_FACTORY_CONTEXT_KEY
        See Also:
        Constant Field Values
      • SSL_PEER_HOST_CONTEXT_KEY

        public static final java.lang.String SSL_PEER_HOST_CONTEXT_KEY
        See Also:
        Constant Field Values
      • SSL_PEER_PORT_CONTEXT_KEY

        public static final java.lang.String SSL_PEER_PORT_CONTEXT_KEY
        See Also:
        Constant Field Values
      • SSL_ENGINE_CONTEXT_KEY

        public static final java.lang.String SSL_ENGINE_CONTEXT_KEY
        See Also:
        Constant Field Values
    • Method Detail

      • setDirectBuffersForEncryption

        public void setDirectBuffersForEncryption​(boolean useDirectBuffers)
      • setDirectBuffersForDecryption

        public void setDirectBuffersForDecryption​(boolean useDirectBuffers)
      • isDirectBuffersForDecryption

        public boolean isDirectBuffersForDecryption()
      • isDirectBuffersForEncryption

        public boolean isDirectBuffersForEncryption()
      • isAllowMissingCloseMessage

        public boolean isAllowMissingCloseMessage()
      • setAllowMissingCloseMessage

        public void setAllowMissingCloseMessage​(boolean allowMissingCloseMessage)
      • newConnection

        public Connection newConnection​(EndPoint endPoint,
                                        java.util.Map<java.lang.String,​java.lang.Object> context)
                                 throws java.io.IOException
        Specified by:
        newConnection in interface ClientConnectionFactory
        Parameters:
        endPoint - the EndPoint to link the newly created connection to
        context - the context data to create the connection
        Returns:
        a new Connection
        Throws:
        java.io.IOException - if the connection cannot be created
      • newSslConnection

        protected SslConnection newSslConnection​(ByteBufferPool byteBufferPool,
                                                 java.util.concurrent.Executor executor,
                                                 EndPoint endPoint,
                                                 javax.net.ssl.SSLEngine engine)