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, toExternalForm
public InterceptingURLStreamHandler(URLStreamHandler interceptedHandler)
protected URLConnection openConnection(URL url) throws IOException
openConnection
in class URLStreamHandler
IOException
protected URLConnection openConnection(URL url, Proxy proxy) throws IOException
openConnection
in class URLStreamHandler
IOException
public int getDefaultPort()
getDefaultPort
in class URLStreamHandler
Copyright © 2019. All rights reserved.