|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.HttpHost
org.apache.http.ProxyHost
public class ProxyHost
Holds all of the variables needed to describe an HTTP connection to a proxy. Proxy hosts always use plain HTTP connection when communicating with clients.
Constructor Summary | |
---|---|
ProxyHost(ProxyHost httpproxy)
Copy constructor for ProxyHost. |
|
ProxyHost(java.lang.String hostname)
Constructor for ProxyHost. |
|
ProxyHost(java.lang.String hostname,
int port)
Constructor for ProxyHost. |
Method Summary |
---|
Methods inherited from class org.apache.http.HttpHost |
---|
equals, getHostName, getPort, getScheme, hashCode, toHostString, toString, toURI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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 scheme portpublic ProxyHost(java.lang.String hostname)
hostname
- the hostname (IP or DNS name). Can be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |