public class ProxyHost extends HttpHost
| 构造器和说明 |
|---|
ProxyHost(ProxyHost httpproxy)
Copy constructor for HttpHost
|
ProxyHost(java.lang.String hostname)
Constructor for HttpHost.
|
ProxyHost(java.lang.String hostname,
int port)
Constructor for ProxyHost.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
clone() |
equals, getHostName, getPort, getProtocol, hashCode, toString, toURIpublic ProxyHost(ProxyHost httpproxy)
httpproxy - the HTTP host to copy details frompublic ProxyHost(java.lang.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(java.lang.String hostname)
hostname - the hostname (IP or DNS name). Can be null.