net.dpml.transit.link
Class Handler
java.lang.Object
java.net.URLStreamHandler
net.dpml.transit.link.Handler
- public class Handler
- extends URLStreamHandler
The link URL protocol handler.
The link: protocol is similar to the symlink concept
in Linux/Unix, where something that looks like a file points to another
file. In this case, the link URL points to another URL. The resolution
of the link translation is picked up from managed Transit server(s).
- Version:
- 1.0.1
- Author:
- Digital Product Meta Library
Constructor Summary |
Handler()
Creation of a new transit link: protocol handler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
- Creation of a new transit link: protocol handler.
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.