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
-
Field Summary
Fields inherited from class org.osgi.service.url.AbstractURLStreamHandlerService
realHandler -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.osgi.service.url.AbstractURLStreamHandlerService
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalFormMethods inherited from class java.net.URLStreamHandler
openConnection, parseURL
-
Constructor Details
-
WarUrlStreamHandler
public WarUrlStreamHandler()
-
-
Method Details
-
openConnection
- Specified by:
openConnectionin interfaceorg.osgi.service.url.URLStreamHandlerService- Specified by:
openConnectionin classorg.osgi.service.url.AbstractURLStreamHandlerService- Parameters:
url- The url with a war scheme- Throws:
IOException
-