Package org.conscrypt

Class Java9PlatformUtil


  • final class Java9PlatformUtil
    extends java.lang.Object
    Utility methods supported on Java 9+.
    • Field Detail

      • SSL_PARAMETERS_GET_APPLICATION_PROTOCOLS_METHOD

        private static final java.lang.reflect.Method SSL_PARAMETERS_GET_APPLICATION_PROTOCOLS_METHOD
      • SSL_PARAMETERS_SET_APPLICATION_PROTOCOLS_METHOD

        private static final java.lang.reflect.Method SSL_PARAMETERS_SET_APPLICATION_PROTOCOLS_METHOD
    • Constructor Detail

      • Java9PlatformUtil

        private Java9PlatformUtil()
    • Method Detail

      • getApplicationProtocols

        private static java.lang.String[] getApplicationProtocols​(javax.net.ssl.SSLParameters params)
      • setApplicationProtocols

        private static void setApplicationProtocols​(javax.net.ssl.SSLParameters params,
                                                    java.lang.String[] protocols)