@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
Auto-configuration
for RestTemplate
.Constructor and Description |
---|
RestTemplateAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
RestTemplateBuilder |
restTemplateBuilder(org.springframework.beans.factory.ObjectProvider<HttpMessageConverters> messageConverters,
org.springframework.beans.factory.ObjectProvider<RestTemplateCustomizer> restTemplateCustomizers,
org.springframework.beans.factory.ObjectProvider<RestTemplateRequestCustomizer<?>> restTemplateRequestCustomizers) |
@Bean @ConditionalOnMissingBean public RestTemplateBuilder restTemplateBuilder(org.springframework.beans.factory.ObjectProvider<HttpMessageConverters> messageConverters, org.springframework.beans.factory.ObjectProvider<RestTemplateCustomizer> restTemplateCustomizers, org.springframework.beans.factory.ObjectProvider<RestTemplateRequestCustomizer<?>> restTemplateRequestCustomizers)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.