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