@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 @ConditionalOnMissingBean public RestTemplateBuilder restTemplateBuilder(ObjectProvider<HttpMessageConverters> messageConverters, ObjectProvider<RestTemplateCustomizer> restTemplateCustomizers, ObjectProvider<RestTemplateRequestCustomizer<?>> restTemplateRequestCustomizers)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.