- WebClientConfiguration (webclient) Configuration
Configuration of the HTTP client
Type: io.helidon.webclient.WebClientConfiguration
This is a standalone configuration type, prefix from configuration root:
client
Configuration options
| key | type | default value | description |
|---|---|---|---|
connect-timeout-millis | long | 60000 | Sets new connection timeout of the request. |
cookies.automatic-store-enabled | boolean | Whether to allow automatic cookie storing | |
cookies.default-cookies | Map | Default cookies to be used in each request. Each list entry has to have "name" and "value" node | |
dns-resolver-type | DnsResolverType (DEFAULT, ROUND_ROBIN, NONE) | Set which type of DNS resolver should be used. | |
follow-redirects | boolean | false | Whether to follow any response redirections or not. |
headers | Map | Default headers to be used in each request. Each list entry has to have "name" and "value" node | |
keep-alive | boolean | true | Enable keep alive option on the connection. |
max-redirects | int | 5 | Sets max number of followed redirects. |
media-support | |||
proxy | Sets new request proxy. | ||
read-timeout-millis | long | 600000 | Sets new read timeout of the response. |
relative-uris | boolean | false | Can be set to |
tls | New TLS configuration. | ||
uri | string | Base URI for each request | |
user-agent | string | Name of the user agent which should be used. |