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