@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value=HttpMessageConvertersAutoConfiguration.class) @ConditionalOnClass(value=org.springframework.web.client.RestTemplate.class) @Conditional(value=org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration.NotReactiveWebApplicationCondition.class) public class RestTemplateAutoConfiguration extends Object
Constructor and Description |
---|
RestTemplateAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
RestTemplateBuilder |
restTemplateBuilder(ObjectProvider<HttpMessageConverters> messageConverters,
ObjectProvider<RestTemplateCustomizer> restTemplateCustomizers,
ObjectProvider<RestTemplateRequestCustomizer<?>> restTemplateRequestCustomizers) |
@Bean @Lazy @ConditionalOnMissingBean public RestTemplateBuilder restTemplateBuilder(ObjectProvider<HttpMessageConverters> messageConverters, ObjectProvider<RestTemplateCustomizer> restTemplateCustomizers, ObjectProvider<RestTemplateRequestCustomizer<?>> restTemplateRequestCustomizers)