- build
Creates a new RestClient based on the provided configuration.
- setHttpClientConfigCallback
Sets the HttpClientConfigCallback to be used to customize http client
configuration
- setRequestConfigCallback
Sets the RequestConfigCallback to be used to customize http client configuration
- setMaxRetryTimeoutMillis
Sets the maximum timeout (in milliseconds) to honour in case of multiple retries
of the same request
- setDefaultHeaders
Sets the default request headers, which will be sent along with each request.
Request-time headers
- setFailureListener
Sets the RestClient.FailureListener to be notified for each request failure
- setPathPrefix
Sets the path's prefix for every request used by the http client. For example,
if this is set to "/m
- <init>
Creates a new builder instance and sets the hosts that the client will send
requests to.