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 Summary
Constructors Constructor Description WarUrlStreamHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URLConnection
openConnection(java.net.URL url)
-
-
-
Method Detail
-
openConnection
public java.net.URLConnection openConnection(java.net.URL url) throws java.io.IOException
- Specified by:
openConnection
in interfaceorg.osgi.service.url.URLStreamHandlerService
- Specified by:
openConnection
in classorg.osgi.service.url.AbstractURLStreamHandlerService
- Parameters:
url
- The url with a war scheme- Throws:
java.io.IOException
-
-