org.apache.commons.httpclient
public class ProxyHost extends HttpHost
Since: 3.0
Constructor Summary | |
---|---|
ProxyHost(ProxyHost httpproxy)
Copy constructor for HttpHost
| |
ProxyHost(String hostname, int port)
Constructor for ProxyHost.
| |
ProxyHost(String hostname)
Constructor for HttpHost.
|
Method Summary | |
---|---|
Object | clone() |
Parameters: httpproxy the HTTP host to copy details from
Parameters: hostname the hostname (IP or DNS name). Can be null
. port the port. Value -1
can be used to set default protocol port
Parameters: hostname the hostname (IP or DNS name). Can be null
.
See Also: java.lang.Object#clone()