Class BundleProtectionDomain.RevisionAsJarURL

  • Enclosing class:
    BundleProtectionDomain

    private static final class BundleProtectionDomain.RevisionAsJarURL
    extends java.net.URLStreamHandler
    • 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
      • getUseCachedURL

        private static boolean getUseCachedURL​(BundleRevisionImpl revision)
      • getUseCachedURLProperty

        private static java.lang.String getUseCachedURLProperty​(BundleRevisionImpl revision)
      • create

        private static java.net.URL create​(BundleRevisionImpl revision)
                                    throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException