Package org.apache.commons.httpclient
Class ProxyHost
java.lang.Object
org.apache.commons.httpclient.HttpHost
org.apache.commons.httpclient.ProxyHost
- All Implemented Interfaces:
Cloneable
Deprecated.
Jakarta Commons HttpClient 3.x is deprecated in the Jenkins project.
It is not recommended to use it in any new code.
Instead, use HTTP client API plugins as a dependency in your code.
E.g.
Apache HttpComponents Client API 4.x Plugin or
Async HTTP Client Plugin.
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.
- Since:
- 3.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.httpclient.HttpHost
equals, getHostName, getPort, getProtocol, hashCode, toString, toURI
-
Constructor Details
-
ProxyHost
Deprecated.Copy constructor for HttpHost- Parameters:
httpproxy
- the HTTP host to copy details from
-
ProxyHost
Deprecated.Constructor for ProxyHost.- Parameters:
hostname
- the hostname (IP or DNS name). Can benull
.port
- the port. Value-1
can be used to set default protocol port
-
ProxyHost
Deprecated.Constructor for HttpHost.- Parameters:
hostname
- the hostname (IP or DNS name). Can benull
.
-
-
Method Details
-
clone
Deprecated.- Overrides:
clone
in classHttpHost
- Throws:
CloneNotSupportedException
- See Also:
-