@Configuration @AutoConfigureAfter(value=HttpMessageConvertersAutoConfiguration.class) @ConditionalOnClass(value=org.springframework.web.client.RestTemplate.class) public class RestTemplateAutoConfiguration extends Object
Auto-configuration
for RestTemplate
.Constructor and Description |
---|
RestTemplateAutoConfiguration(org.springframework.beans.factory.ObjectProvider<HttpMessageConverters> messageConverters,
org.springframework.beans.factory.ObjectProvider<List<RestTemplateCustomizer>> restTemplateCustomizers) |
Modifier and Type | Method and Description |
---|---|
RestTemplateBuilder |
restTemplateBuilder() |
public RestTemplateAutoConfiguration(org.springframework.beans.factory.ObjectProvider<HttpMessageConverters> messageConverters, org.springframework.beans.factory.ObjectProvider<List<RestTemplateCustomizer>> restTemplateCustomizers)
@Bean @ConditionalOnMissingBean public RestTemplateBuilder restTemplateBuilder()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.