Class UrlConnectionFactory


  • public class UrlConnectionFactory
    extends java.lang.Object
    Constructs an HTTPURLConnection. This class should be considered to be internal
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.URLConnection createConnection​(java.net.URL url)  
      static java.net.HttpURLConnection createConnection​(java.net.URL url, long lastModifiedMillis, SslConfiguration sslConfiguration)  
      private static boolean isJson​(java.lang.String type)  
      private static boolean isProperties​(java.lang.String type)  
      private static boolean isXml​(java.lang.String type)  
      • Methods inherited from class java.lang.Object

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

      • UrlConnectionFactory

        public UrlConnectionFactory()
    • Method Detail

      • createConnection

        public static java.net.HttpURLConnection createConnection​(java.net.URL url,
                                                                  long lastModifiedMillis,
                                                                  SslConfiguration sslConfiguration)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • createConnection

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

        private static boolean isXml​(java.lang.String type)
      • isJson

        private static boolean isJson​(java.lang.String type)
      • isProperties

        private static boolean isProperties​(java.lang.String type)