Class OptionalSslConnectionFactory

    • Constructor Detail

      • OptionalSslConnectionFactory

        public OptionalSslConnectionFactory​(SslConnectionFactory sslConnectionFactory,
                                            java.lang.String nextProtocol)
        Deprecated.

        Creates a new ConnectionFactory whose connections can upgrade to TLS or another protocol.

        Parameters:
        sslConnectionFactory - The SslConnectionFactory to use if the first bytes are TLS
        nextProtocol - the protocol of the ConnectionFactory to use if the first bytes are not TLS, or null to explicitly handle the non-TLS case