public class Handler extends URLStreamHandler
| Modifier and Type | Field and Description |
|---|---|
protected String |
proxy |
protected int |
proxyPort |
| Constructor and Description |
|---|
Handler() |
Handler(String proxy,
int port) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getDefaultPort() |
protected URLConnection |
openConnection(URL u) |
protected URLConnection |
openConnection(URL u,
Proxy p) |
equals, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalFormprotected String proxy
protected int proxyPort
public Handler()
public Handler(String proxy, int port)
protected int getDefaultPort()
getDefaultPort in class URLStreamHandlerprotected URLConnection openConnection(URL u, Proxy p) throws IOException
openConnection in class URLStreamHandlerIOExceptionprotected URLConnection openConnection(URL u) throws IOException
openConnection in class URLStreamHandlerIOException