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 .