@Configuration @ConditionalOnClass(value=org.springframework.web.client.RestTemplate.class) public static class WebClientAutoConfiguration.RestTemplateConfiguration extends Object
Constructor and Description |
---|
RestTemplateConfiguration(org.springframework.beans.factory.ObjectProvider<HttpMessageConverters> messageConverters,
org.springframework.beans.factory.ObjectProvider<List<RestTemplateCustomizer>> restTemplateCustomizers) |
Modifier and Type | Method and Description |
---|---|
RestTemplateBuilder |
restTemplateBuilder() |
public RestTemplateConfiguration(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.