- HttpConfigBase (webclient.api) Configuration
Configuration options
Optional configuration options
| key | type | default value | description |
|---|---|---|---|
connect-timeout | Duration | Connect timeout. @return connect timeout @see io.helidon.common.socket.SocketOptions#connectTimeout() | |
follow-redirects | boolean | true | Whether to follow redirects. @return whether to follow redirects |
keep-alive | boolean | true | Determines if connection keep alive is enabled (NOT socket keep alive, but HTTP connection keep alive, to re-use the same connection for multiple requests). @return keep alive for this connection @see io.helidon.common.socket.SocketOptions#socketKeepAlive() |
max-redirects | int | 10 | Max number of followed redirects. This is ignored if #followRedirects() option is @return max number of followed redirects |
properties | Map<string, string> | Properties configured for this client. These properties are propagated through client request, to be used by services (and possibly for other purposes). @return map of client properties | |
proxy | Proxy configuration to be used for requests. @return proxy to use, defaults to Proxy#noProxy() | ||
read-timeout | Duration | Read timeout. @return read timeout @see io.helidon.common.socket.SocketOptions#readTimeout() | |
tls | TLS configuration for any TLS request from this client. TLS can also be configured per request. TLS is used when the protocol is set to @return TLS configuration to use |