@Configuration
@EnableConfigurationProperties(value={org.springframework.boot.autoconfigure.task.TaskExecutionProperties.class,CorsFilterProperties.class,org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.class})
public class SpringMvcAutoConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 构造器和说明 |
|---|
SpringMvcAutoConfiguration(CorsFilterProperties corsFilterProperties,
org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties webMvcProperties,
org.springframework.boot.autoconfigure.task.TaskExecutionProperties taskExecutionProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> resolvers) |
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
addReturnValueHandlers(List<org.springframework.web.method.support.HandlerMethodReturnValueHandler> handlers) |
AgileHandlerMapping |
agileHandlerMapping() |
void |
configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
void |
configureViewResolvers(org.springframework.web.servlet.config.annotation.ViewResolverRegistry registry) |
org.springframework.boot.web.servlet.FilterRegistrationBean<CorsFilter> |
corsFilter() |
org.springframework.boot.web.servlet.FilterRegistrationBean<RequestWrapperFilter> |
requestWrapperFilter() |
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor |
threadPoolTaskExecutor() |
org.springframework.web.context.request.async.TimeoutCallableProcessingInterceptor |
timeoutInterceptor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCorsMappings, addFormatters, addViewControllers, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator@Autowired public SpringMvcAutoConfiguration(CorsFilterProperties corsFilterProperties, org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties webMvcProperties, org.springframework.boot.autoconfigure.task.TaskExecutionProperties taskExecutionProperties)
@Bean @ConditionalOnClass(value=CorsFilter.class) public org.springframework.boot.web.servlet.FilterRegistrationBean<CorsFilter> corsFilter()
@Bean @ConditionalOnClass(value=RequestWrapperFilter.class) public org.springframework.boot.web.servlet.FilterRegistrationBean<RequestWrapperFilter> requestWrapperFilter()
@Bean @Order(value=-2147483648) public AgileHandlerMapping agileHandlerMapping()
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> resolvers)
addArgumentResolvers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureViewResolvers(org.springframework.web.servlet.config.annotation.ViewResolverRegistry registry)
configureViewResolvers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addReturnValueHandlers(List<org.springframework.web.method.support.HandlerMethodReturnValueHandler> handlers)
addReturnValueHandlers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer)
configureAsyncSupport 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean @ConditionalOnMissingBean(value=org.springframework.web.context.request.async.CallableProcessingInterceptor.class) public org.springframework.web.context.request.async.TimeoutCallableProcessingInterceptor timeoutInterceptor()
@Bean @ConditionalOnMissingBean(value=org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.class) public org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor()
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2022. All rights reserved.