public class InterceptingURLStreamHandler extends URLStreamHandler
| Constructor and Description |
|---|
InterceptingURLStreamHandler(URLStreamHandler interceptedHandler) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultPort() |
protected URLConnection |
openConnection(URL url) |
protected URLConnection |
openConnection(URL url,
Proxy proxy) |
equals, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalFormpublic InterceptingURLStreamHandler(URLStreamHandler interceptedHandler)
protected URLConnection openConnection(URL url) throws IOException
openConnection in class URLStreamHandlerIOExceptionprotected URLConnection openConnection(URL url, Proxy proxy) throws IOException
openConnection in class URLStreamHandlerIOExceptionpublic int getDefaultPort()
getDefaultPort in class URLStreamHandlerCopyright © 2019. All rights reserved.