io.helidon.webclient.http1.Http1Client
Description
HTTP/1.1
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
default- | Map< | Default headers to be used in every request from configuration | |
base- | Client | Base uri used by the client in all requests | |
connection- | Integer | 256 | Maximal size of the connection cache for a single connection key |
content- | Content | Configure the listener specific io. | |
media- | Media | create( | Configure the listener specific io. |
base- | String | Base address used by the client in all requests | |
cookie- | Web | WebClient cookie manager | |
services | List< | WebClient services | |
filter- | Boolean | true | Whether headers sensitive to cross-origin redirects should be filtered before the redirected request is sent |
relative- | Boolean | false | Can be set to true to force the use of relative URIs in all requests, regardless of the presence or absence of proxies or no-proxy lists |
send- | Boolean | true | Whether Expect-100-Continue header is sent to verify server availability before sending an entity |
media- | Parser | STRICT | Configure media type parsing mode for HTTP Content- header |
max- | Integer | 131072 | If the entity is expected to be smaller that this number of bytes, it would be buffered in memory to optimize performance |
share- | Boolean | true | Whether to share connection cache between all the WebClient instances in JVM |
services- | Boolean | true | Whether to enable automatic service discovery for services |
socket- | Socket | Socket options for connections opened by this client | |
follow- | Boolean | false | Whether redirects that preserve request method and entity may be followed across origins |
write- | Integer | 4096 | Buffer size used when writing data to the underlying socket on a client TCP connection |
redirect- | List< | Request header names to strip on cross-origin redirects | |
read- | Duration | PT1S | Socket 100-Continue read timeout |
See the manifest for all available types.