Class BundleProtectionDomain.RevisionAsJarURL

  • Enclosing class:
    BundleProtectionDomain

    private static final class BundleProtectionDomain.RevisionAsJarURL
    extends java.net.URLStreamHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.ref.WeakReference m_revision  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.net.URL create​(BundleImpl bundle)  
      protected java.net.URLConnection openConnection​(java.net.URL u)  
      • Methods inherited from class java.net.URLStreamHandler

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

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

      • m_revision

        private final java.lang.ref.WeakReference m_revision
    • Method Detail

      • openConnection

        protected java.net.URLConnection openConnection​(java.net.URL u)
                                                 throws java.io.IOException
        Specified by:
        openConnection in class java.net.URLStreamHandler
        Throws:
        java.io.IOException
      • create

        private static java.net.URL create​(BundleImpl bundle)
                                    throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException