IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Common configuration
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Common configuration
editThe RestClientBuilder supports providing both a RequestConfigCallback and
an HttpClientConfigCallback which allow for any customization that the Apache
Async Http Client exposes. Those callbacks make it possible to modify some
specific behaviour of the client without overriding every other default
configuration that the RestClient is initialized with. This section
describes some common scenarios that require additional configuration for the
low-level Java REST Client.