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