WARNING: Deprecated in 7.15.0.
The Java REST Client is deprecated in favor of the Java API Client.
Common configuration
editCommon configuration
editAs explained in Initialization, the 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.