public interface ProxySpec
HttpClient.| Modifier and Type | Method and Description |
|---|---|
ProxySpec |
host(java.lang.String host)
Configure the host that will proxy outbound HTTP requests.
|
ProxySpec |
nonProxyHosts(java.util.Collection<java.lang.String> nonProxyHosts)
Configure a collection of patterns for which if any are matched, the outbound request will bypass the HTTP proxy.
|
ProxySpec |
port(int port)
Configure the port on the proxy to will outbound HTTP requests will be sent.
|
ProxySpec host(java.lang.String host)
host - the host name for the HTTP proxythisProxySpec port(int port)
port - the port for the HTTP proxythisProxySpec nonProxyHosts(java.util.Collection<java.lang.String> nonProxyHosts)
The format of the values in this list follow the standard Java Networking and Proxies standards
nonProxyHosts - a list of patterns to match the destination hostthis