@NoInstantiate public final class MuleArtifactUrlStreamHandler extends URLStreamHandler
PROTOCOL it will be
handled by MuleArtifactUrlConnection.| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOCOL
Mule Protocol that will be used to reference artifacts.
|
| Constructor and Description |
|---|
MuleArtifactUrlStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected URLConnection |
openConnection(URL url)
Opens a connection to the object referenced by the
url argument if the protocol of it it's PROTOCOL. |
static void |
register()
Registers the Mule Artifact protocol
PROTOCOL into the URL.setURLStreamHandlerFactory(URLStreamHandlerFactory)
through the MuleUrlStreamHandlerFactory. |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic static final String PROTOCOL
public static void register()
PROTOCOL into the URL.setURLStreamHandlerFactory(URLStreamHandlerFactory)
through the MuleUrlStreamHandlerFactory.protected URLConnection openConnection(URL url) throws IOException
url argument if the protocol of it it's PROTOCOL.openConnection in class URLStreamHandlerurl - that represents a Mule Artifact to connect with.URLConnection object for the url.IOException - if an I/O error occurs while opening the URL.openConnection().Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.