Allows configuring the proxy parameters.
- Since:
- 0.12.0
-
Method Summary
Modifier and TypeMethodDescriptionauth(Consumer<HttpAuthenticationConfigurer> authConfigurer) Allows configuring the authentication method against the proxy.Configures the host.nonProxyHosts(String nonProxyHosts) Configures a set of hosts we don't want this configuration to be applied to.port(int port) Configures the port.
-
Method Details
-
host
Configures the host.- Parameters:
host- the host.- Returns:
- this configurer.
-
port
Configures the port.- Parameters:
port- the port.- Returns:
- this configurer.
-
nonProxyHosts
Configures a set of hosts we don't want this configuration to be applied to.- Parameters:
nonProxyHosts- it's a comma-separated string.- Returns:
- this configurer.
-
auth
Allows configuring the authentication method against the proxy.- Parameters:
authConfigurer- a callback to configure the authentication.- Returns:
- this configurer.
-