Class FeatureURLHandler

  • All Implemented Interfaces:
    org.osgi.service.url.URLStreamHandlerService

    public class FeatureURLHandler
    extends org.osgi.service.url.AbstractURLStreamHandlerService
    URL handler for features
    • Constructor Detail

      • FeatureURLHandler

        public FeatureURLHandler()
    • Method Detail

      • openConnection

        public URLConnection openConnection​(URL url)
                                     throws IOException
        Open the connection for the given URL.
        Specified by:
        openConnection in interface org.osgi.service.url.URLStreamHandlerService
        Specified by:
        openConnection in class org.osgi.service.url.AbstractURLStreamHandlerService
        Parameters:
        url - the url from which to open a connection.
        Returns:
        a connection on the specified URL.
        Throws:
        IOException - if an error occurs or if the URL is malformed.
      • getFeatureXmlURL

        public URL getFeatureXmlURL()