| Constructor and Description |
|---|
ProxyHost(ProxyHost httpproxy)
Copy constructor for HttpHost
|
ProxyHost(String hostname)
Constructor for HttpHost.
|
ProxyHost(String hostname,
int port)
Constructor for ProxyHost.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
equals, getHostName, getPort, getProtocol, hashCode, toString, toURIpublic ProxyHost(ProxyHost httpproxy)
httpproxy - the HTTP host to copy details frompublic ProxyHost(String hostname, int port)
hostname - the hostname (IP or DNS name). Can be null.port - the port. Value -1 can be used to set default protocol portpublic ProxyHost(String hostname)
hostname - the hostname (IP or DNS name). Can be null.public Object clone() throws CloneNotSupportedException
clone in class HttpHostCloneNotSupportedExceptionObject.clone()Copyright © 2020 Internet2. All rights reserved.