Class WarUrlStreamHandler

java.lang.Object
java.net.URLStreamHandler
org.osgi.service.url.AbstractURLStreamHandlerService
org.eclipse.jetty.osgi.boot.warurl.WarUrlStreamHandler
All Implemented Interfaces:
org.osgi.service.url.URLStreamHandlerService

public class WarUrlStreamHandler extends org.osgi.service.url.AbstractURLStreamHandlerService
RFC-66: support for the "war" protocol We are reusing the parsing of the query string from jetty. If we wanted to not depend on jetty at all we could duplicate that method here
  • Constructor Details

    • WarUrlStreamHandler

      public WarUrlStreamHandler()
  • Method Details

    • openConnection

      public URLConnection openConnection(URL url) throws IOException
      Specified by:
      openConnection in interface org.osgi.service.url.URLStreamHandlerService
      Specified by:
      openConnection in class org.osgi.service.url.AbstractURLStreamHandlerService
      Parameters:
      url - The url with a war scheme
      Throws:
      IOException