Class StaticURLStreamHandlerFactory

java.lang.Object
cloud.piranha.micro.shrinkwrap.loader.StaticURLStreamHandlerFactory
All Implemented Interfaces:
URLStreamHandlerFactory

public class StaticURLStreamHandlerFactory extends Object implements URLStreamHandlerFactory
A factory for URL stream handlers using a static map to contain handlers.

This factory should be registered with the JVM early. Later on the HANDLERS map can be used to register individual URL stream handlers for various protocols.

Author:
Arjan Tijms