Class RestClientBuilderConfigurer
java.lang.Object
org.springframework.boot.autoconfigure.web.client.RestClientBuilderConfigurer
Configure
RestClient.Builder
with sensible defaults.- Since:
- 3.2.0
- Author:
- Moritz Halbritter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfigure
(RestClient.Builder builder) Configure the specifiedRestClient.Builder
.
-
Constructor Details
-
RestClientBuilderConfigurer
public RestClientBuilderConfigurer()
-
-
Method Details
-
configure
Configure the specifiedRestClient.Builder
. The builder can be further tuned and default settings can be overridden.- Parameters:
builder
- theRestClient.Builder
instance to configure- Returns:
- the configured builder
-