driver-core/src/main/com/mongodb/internal/connection/SslHelper.java
public static void enableSni(final String host, final SSLParameters sslParameters) {
        if (SNI_SSL_HELPER != null) {
            SNI_SSL_HELPER.enableSni(host, sslParameters);
        }
    }
public static void enableSni(final String host, final SSLParameters sslParameters) {
        if (SNI_SSL_HELPER != null) {
            SNI_SSL_HELPER.enableSni(host, sslParameters);
        }
    }
public static void enableSni ( final String host , final SSLParameters sslParameters ) { if ( SNI_SSL_HELPER != null ) { SNI_SSL_HELPER . enableSni ( host , sslParameters ) ; } }
Enable SNI if running on Java 8 or later.  Otherwise fail silently to enable SNI.

@param host          the server host
@param sslParameters the SSL parameters
Enable SNI if running on Java 8 or later . Otherwise fail silently to enable SNI .