| |
|
| java.lang.Object org.apache.commons.httpclient.HttpHost org.apache.commons.httpclient.ProxyHost
ProxyHost | public class ProxyHost extends HttpHost (Code) | | 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.
author: Michael Becke author: Mike Bowler author: Oleg Kalnichevski author: Laura Werner since: 3.0 |
Constructor Summary | |
public | ProxyHost(ProxyHost httpproxy) | public | ProxyHost(String hostname, int port) Constructor for ProxyHost.
Parameters: hostname - the hostname (IP or DNS name). | public | ProxyHost(String hostname) Constructor for HttpHost.
Parameters: hostname - the hostname (IP or DNS name). |
ProxyHost | public ProxyHost(ProxyHost httpproxy)(Code) | | Copy constructor for HttpHost
Parameters: httpproxy - the HTTP host to copy details from |
ProxyHost | public ProxyHost(String hostname, int port)(Code) | | Constructor for ProxyHost.
Parameters: hostname - the hostname (IP or DNS name). Can be null . Parameters: port - the port. Value -1 can be used to set default protocol port |
ProxyHost | public ProxyHost(String hostname)(Code) | | Constructor for HttpHost.
Parameters: hostname - the hostname (IP or DNS name). Can be null . |
|
|
|