Class BundleURLConnection

java.lang.Object
java.net.URLConnection
org.eclipse.osgi.storage.url.BundleURLConnection
All Implemented Interfaces:
BundleReference

public class BundleURLConnection extends URLConnection implements BundleReference
URLConnection for BundleClassLoader resources.
  • Field Details

    • bundleEntry

      protected final BundleEntry bundleEntry
      BundleEntry that the URL is associated.
    • in

      protected InputStream in
      InputStream for this URLConnection.
    • contentType

      protected String contentType
      content type for this URLConnection
  • Constructor Details

    • BundleURLConnection

      public BundleURLConnection(URL url, ModuleContainer container, BundleEntry bundleEntry)
      Constructor for a BundleClassLoader resource URLConnection.
      Parameters:
      url - URL for this URLConnection.
      bundleEntry - BundleEntry that the URLConnection is associated.
  • Method Details