Package dev.equo.solstice.platform
Class Handler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- dev.equo.solstice.platform.Handler
-
public class Handler extends java.net.URLStreamHandlerThis allows us to intercept platform:// URLs (the name is determine by our package).
-
-
Constructor Summary
Constructors Constructor Description Handler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidinstall(BundleContextShim solstice)protected java.net.URLConnectionopenConnection(java.net.URL u)
-
-
-
Method Detail
-
install
public static void install(BundleContextShim solstice)
-
openConnection
protected java.net.URLConnection openConnection(java.net.URL u) throws java.io.IOException- Specified by:
openConnectionin classjava.net.URLStreamHandler- Throws:
java.io.IOException
-
-