java.lang.Object | |
↳ | com.ning.http.util.ProxyUtils |
Utilities for Proxy handling.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PROXY_HOST | The host to use as proxy. | |||||||||
String | PROXY_NONPROXYHOSTS | A specification of non-proxy hosts. | |||||||||
String | PROXY_PASSWORD | The password to use for authentication for the proxy server. | |||||||||
String | PROXY_PORT | The port to use for the proxy. | |||||||||
String | PROXY_PROTOCOL | The protocol to use. | |||||||||
String | PROXY_USER | The username to use for authentication for the proxy server. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Checks whether proxy should be used according to nonProxyHosts settings of it, or we want to go directly to
target host.
| |||||||||||
Checks whether proxy should be used according to nonProxyHosts settings of it, or we want to go directly to
target host.
| |||||||||||
Creates a proxy server instance from the given properties.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The host to use as proxy.
A specification of non-proxy hosts. See http://download.oracle.com/javase/1.4.2/docs/guide/net/properties.html
The password to use for authentication for the proxy server.
The port to use for the proxy.
The protocol to use. Is mapped to the ProxyServer.Protocol
enum.
The username to use for authentication for the proxy server.
Checks whether proxy should be used according to nonProxyHosts settings of it, or we want to go directly to
target host. If null
proxy is passed in, this method returns true -- since there is NO proxy, we
should avoid to use it. Simple hostname pattern matching using "*" are supported, but only as prefixes.
See http://download.oracle.com/javase/1.4.2/docs/guide/net/properties.html
Checks whether proxy should be used according to nonProxyHosts settings of it, or we want to go directly to
target host. If null
proxy is passed in, this method returns true -- since there is NO proxy, we
should avoid to use it. Simple hostname pattern matching using "*" are supported, but only as prefixes.
See http://download.oracle.com/javase/1.4.2/docs/guide/net/properties.html
target | the hostname |
---|
Creates a proxy server instance from the given properties.
Currently the default http.* proxy properties are supported as well as properties specific for AHC.properties | the properties to evaluate. Must not be null. |
---|