Class RestClientBuilderConfigurer
java.lang.Object
org.springframework.boot.autoconfigure.web.client.RestClientBuilderConfigurer
Configure
RestClient.Builder
with sensible defaults.- Since:
- 3.2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.client.RestClient.Builder
configure
(org.springframework.web.client.RestClient.Builder builder) Configure the specifiedRestClient.Builder
.
-
Constructor Details
-
RestClientBuilderConfigurer
public RestClientBuilderConfigurer()
-
-
Method Details
-
configure
public org.springframework.web.client.RestClient.Builder configure(org.springframework.web.client.RestClient.Builder builder) 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
-