Class RestTemplateBuilderConfigurer
java.lang.Object
org.springframework.boot.autoconfigure.web.client.RestTemplateBuilderConfigurer
Configure
RestTemplateBuilder
with sensible defaults.- Since:
- 2.4.0
- Author:
- Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfigure
(RestTemplateBuilder builder) Configure the specifiedRestTemplateBuilder
.
-
Constructor Details
-
RestTemplateBuilderConfigurer
public RestTemplateBuilderConfigurer()
-
-
Method Details
-
configure
Configure the specifiedRestTemplateBuilder
. The builder can be further tuned and default settings can be overridden.- Parameters:
builder
- theRestTemplateBuilder
instance to configure- Returns:
- the configured builder
-