consciouscode.seedling
Class Handler
java.lang.Object
java.net.URLStreamHandler
consciouscode.seedling.Handler
public class Handler
- extends URLStreamHandler
A URL handler for the seedling
protocol.
Any request for a URL using this protocol are handled as requests for files
from the configuration tree of the application's main Seedling. This is
automatically configured when the Seedling
facade is
used to start the application.
TODO
- Validate that URL has empty host, port, and reference
- See Also:
for details on how URL protocol
handlers work.
Methods inherited from class java.net.URLStreamHandler |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROTOCOL_PROP
public static final String PROTOCOL_PROP
- See Also:
- Constant Field Values
Handler
public Handler()
openConnection
protected URLConnection openConnection(URL url)
throws IOException
- Specified by:
openConnection
in class URLStreamHandler
- Throws:
IOException
Copyright © 2001–2012
Todd V. Jonker. All Rights Reserved.