@Configuration @EnableConfigurationProperties @ComponentScan(basePackages="ren.crux.web.interceptor") public class RestWebAutoConfiguration extends Object
| 构造器和说明 |
|---|
RestWebAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer |
jackson2ObjectMapperBuilderCustomizer() |
org.springframework.web.client.RestTemplate |
restTemplate() |
RestWebProperties |
restWebProperties() |
org.springframework.web.servlet.config.annotation.WebMvcConfigurer |
webMvcConfigurer(org.springframework.context.ApplicationContext context) |
@Bean @ConditionalOnMissingBean public RestWebProperties restWebProperties()
@Bean @ConditionalOnClass(value=org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.class) public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer jackson2ObjectMapperBuilderCustomizer()
@Bean @ConditionalOnMissingBean public org.springframework.web.client.RestTemplate restTemplate()
@Bean public org.springframework.web.servlet.config.annotation.WebMvcConfigurer webMvcConfigurer(org.springframework.context.ApplicationContext context)
Copyright © 2018. All rights reserved.