public abstract class AbstractLocalURLStreamHandler
extends java.net.URLStreamHandler
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Set<java.lang.String> |
locals |
| Constructor and Description |
|---|
AbstractLocalURLStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureLocal(java.net.URL url) |
protected boolean |
hostsEqual(java.net.URL url1,
java.net.URL url2) |
protected java.net.URLConnection |
openConnection(java.net.URL u,
java.net.Proxy p) |
private static java.lang.String |
toLower(java.lang.String str) |
private static java.lang.String toLower(java.lang.String str)
protected java.net.URLConnection openConnection(java.net.URL u,
java.net.Proxy p)
throws java.io.IOException
openConnection in class java.net.URLStreamHandlerjava.io.IOExceptionprotected boolean hostsEqual(java.net.URL url1,
java.net.URL url2)
hostsEqual in class java.net.URLStreamHandlerprotected void ensureLocal(java.net.URL url)
throws java.io.IOException
java.io.IOException