java.lang.Object
java.net.URLStreamHandler
cloud.piranha.micro.loader.StaticStreamHandler
A static URL stream handler.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
ConstructorDescriptionStaticStreamHandler(String protocol, Map<String,Function<URL,URLConnection>> handlers)
Constructor. -
Method Summary
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
Constructor Details
-
StaticStreamHandler
Constructor.- Parameters:
protocol
- the protocol.handlers
- the handlers.
-
-
Method Details
-
openConnection
- Specified by:
openConnection
in classURLStreamHandler
- Throws:
IOException
-