Class SetHostSocketFactory

    • Field Detail

      • url

        protected final java.net.URL url
    • Constructor Detail

      • SetHostSocketFactory

        public SetHostSocketFactory​(javax.net.ssl.SSLSocketFactory delegate,
                                    java.net.URL url)
    • Method Detail

      • getDefault

        public static javax.net.SocketFactory getDefault()
        Signature matches SSLSocketFactory.getDefault() so that it can be used with e.g. the "java.naming.ldap.factory.socket" property or similar.
        See Also:
        call(Callable)
      • call

        public <V> V call​(java.util.concurrent.Callable<V> callable)
                   throws java.lang.Exception
        Calls a Callable in a context where this class's static getDefault() method will return this SetHostSocketFactory.
        Throws:
        java.lang.Exception