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, toURI
public 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 HttpHost
CloneNotSupportedException
Object.clone()
Copyright © 2010 - 2020 Adobe. All Rights Reserved