Class Handler


  • public class Handler
    extends java.net.URLStreamHandler
    Responsible for instantiating the DataUrlConnection.
    • Constructor Summary

      Constructors 
      Constructor Description
      Handler()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void configureProtocolHandler()
      Adds the parent package to the java.protocol.handler.pkgs system property.
      protected java.net.URLConnection openConnection​(java.net.URL url)  
      protected java.net.URLConnection openConnection​(java.net.URL url, java.net.Proxy proxy)  
      • Methods inherited from class java.net.URLStreamHandler

        equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalForm
      • Methods inherited from class java.lang.Object

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

      • Handler

        public Handler()
    • Method Detail

      • configureProtocolHandler

        public static void configureProtocolHandler()
        Adds the parent package to the java.protocol.handler.pkgs system property.
      • openConnection

        protected java.net.URLConnection openConnection​(java.net.URL url)
        Specified by:
        openConnection in class java.net.URLStreamHandler
      • openConnection

        protected java.net.URLConnection openConnection​(java.net.URL url,
                                                        java.net.Proxy proxy)
        Overrides:
        openConnection in class java.net.URLStreamHandler