@NoInstantiate public final class MuleUrlStreamHandlerFactory extends Object implements URLStreamHandlerFactory
Client classes can register a subclass of URLStreamHandler
for a given protocol. This implementation first checks its
registered handlers before resorting to the default mechanism.
URL.URL(String, String, int, String)
Constructor and Description |
---|
MuleUrlStreamHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
URLStreamHandler |
createURLStreamHandler(String protocol) |
static void |
installUrlStreamHandlerFactory()
Install an instance of this class as UrlStreamHandlerFactory.
|
static void |
registerHandler(String protocol,
URLStreamHandler handler) |
public static void installUrlStreamHandlerFactory()
public static void registerHandler(String protocol, URLStreamHandler handler)
public URLStreamHandler createURLStreamHandler(String protocol)
createURLStreamHandler
in interface URLStreamHandlerFactory
Copyright © 2018. All rights reserved.