@Configuration @Import(value={ApplicationContextUtils.class,SpringUtils.class,NetProxy.class,AsyncConfig.class,DateTimeFormatConfig.class}) @EnableConfigurationProperties(value={ApiVersionProperties.class,ExceptionHandlerProperties.class,RestProperties.class,CorsProperties.class}) public class BaseAutoConfig extends Object
Constructor and Description |
---|
BaseAutoConfig() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.client.RestTemplate |
restTemplate(RestProperties restProperties) |
Validator |
validator() |
@Bean @ConditionalOnMissingBean public org.springframework.web.client.RestTemplate restTemplate(RestProperties restProperties)
@Bean @ConditionalOnMissingBean public Validator validator()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.