Class URLConnector


  • public class URLConnector
    extends java.lang.Object
    URLConnector.java
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected URLConnector()  
      protected URLConnector​(java.net.URL url, java.lang.String clientCertAlias, int hostCertLevel, boolean trustAnyCert)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.net.URLConnection openConnection​(int timeout)  
      static java.net.URLConnection openConnection​(java.net.URL url)  
      static java.net.URLConnection openConnection​(java.net.URL url, int timeout)  
      static java.net.URLConnection openConnection​(java.net.URL url, int timeout, java.lang.String clientCertAlias, int hostCertLevel)  
      static java.net.URLConnection openConnection​(java.net.URL url, java.lang.String clientCertAlias)  
      static java.net.URLConnection openUntrustedConnection​(java.net.URL url)  
      static java.net.URLConnection openUntrustedConnection​(java.net.URL url, int timeout)  
      static java.net.URLConnection openUntrustedConnection​(java.net.URL url, int timeout, java.lang.String clientCertAlias, int hostCertLevel)  
      static java.net.URLConnection openUntrustedConnection​(java.net.URL url, java.lang.String clientCertAlias)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • URLConnector

        protected URLConnector()
      • URLConnector

        protected URLConnector​(java.net.URL url,
                               java.lang.String clientCertAlias,
                               int hostCertLevel,
                               boolean trustAnyCert)
    • Method Detail

      • openConnection

        protected java.net.URLConnection openConnection​(int timeout)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • openConnection

        public static java.net.URLConnection openConnection​(java.net.URL url)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • openConnection

        public static java.net.URLConnection openConnection​(java.net.URL url,
                                                            int timeout)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • openConnection

        public static java.net.URLConnection openConnection​(java.net.URL url,
                                                            java.lang.String clientCertAlias)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • openConnection

        public static java.net.URLConnection openConnection​(java.net.URL url,
                                                            int timeout,
                                                            java.lang.String clientCertAlias,
                                                            int hostCertLevel)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • openUntrustedConnection

        public static java.net.URLConnection openUntrustedConnection​(java.net.URL url)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • openUntrustedConnection

        public static java.net.URLConnection openUntrustedConnection​(java.net.URL url,
                                                                     int timeout)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • openUntrustedConnection

        public static java.net.URLConnection openUntrustedConnection​(java.net.URL url,
                                                                     java.lang.String clientCertAlias)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • openUntrustedConnection

        public static java.net.URLConnection openUntrustedConnection​(java.net.URL url,
                                                                     int timeout,
                                                                     java.lang.String clientCertAlias,
                                                                     int hostCertLevel)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException