org.apache.avalon.repository
Class ArtifactHandler
java.lang.Object
java.net.URLStreamHandler
org.apache.avalon.repository.ArtifactHandler
- public class ArtifactHandler
- extends URLStreamHandler
Repository URL protocol handler.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactHandler
public ArtifactHandler()
openConnection
protected URLConnection openConnection(URL url)
throws IOException
- Opens a connection to the specified URL.
- Parameters:
url
- A URL to open a connection to.
- Returns:
- The established connection.
- Throws:
IOException
- If a connection failure occurs.
getDefaultPort
protected int getDefaultPort()
toExternalForm
protected String toExternalForm(URL url)
Copyright © The Apache Software Foundation. All Rights Reserved.