Package ratpack.core.http.client
Interface Proxy
-
public interface Proxy
Configuration data for an HTTP proxy to utilize for outbound requests usingHttpClient
.- Since:
- 1.8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHost()
The host that proxied requests will be sent.Collection<String>
getNonProxyHosts()
A collection of patterns which if any or matched, the outgoing request will bypass the HTTP proxy.int
getPort()
The port on the proxy where proxied requests will be sent.
-
-
-
Method Detail
-
getHost
String getHost()
The host that proxied requests will be sent.- Returns:
- The host that proxied requests will be sent.
-
getPort
int getPort()
The port on the proxy where proxied requests will be sent.- Returns:
- The port on the proxy where proxied requests will be sent.
-
getNonProxyHosts
Collection<String> getNonProxyHosts()
A collection of patterns which if any or matched, the outgoing request will bypass the HTTP proxy.The format of the values in this list follow the standard Java Networking and Proxies standards.
- Returns:
- A collection of patterns which if any or matched, the outgoing request will bypass the HTTP proxy.
-
-