@Configuration
@EnableConfigurationProperties(value={CorsProperties.class,ControllerProperties.class})
public static class WebMvcAutoConfigurationAfter.WebMvcAutoConfigurationAdapterCustom
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
WebMvcAutoConfigurationAdapterCustom(org.springframework.context.MessageSource messageSource,
org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncTaskExecutor> asyncTaskExecutor,
org.springframework.beans.factory.ObjectProvider<List<org.springframework.web.method.support.HandlerMethodArgumentResolver>> handlerMethodArgumentResolvers,
CorsProperties corsProperties,
ControllerProperties controllerProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) |
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
void |
addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) |
void |
configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer) |
void |
configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer) |
DimensionArgumentResolver |
dimensionArgumentResolver() |
addInterceptors, addResourceHandlers, addReturnValueHandlers, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic WebMvcAutoConfigurationAdapterCustom(org.springframework.context.MessageSource messageSource,
org.springframework.beans.factory.ObjectProvider<org.springframework.core.task.AsyncTaskExecutor> asyncTaskExecutor,
org.springframework.beans.factory.ObjectProvider<List<org.springframework.web.method.support.HandlerMethodArgumentResolver>> handlerMethodArgumentResolvers,
CorsProperties corsProperties,
ControllerProperties controllerProperties)
public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddViewControllers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer)
configureAsyncSupport in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigureAsyncSupport in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterorg.springframework.web.context.request.async.TimeoutCallableProcessingInterceptor,
org.springframework.web.context.request.async.TimeoutDeferredResultProcessingInterceptor@Bean @ConfigurationProperties(value="spring.mvc.resolver.dimension-argument") public DimensionArgumentResolver dimensionArgumentResolver()
public void configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer)
configurePathMatch in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigurePathMatch in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddArgumentResolvers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddFormatters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddCorsMappings in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterCopyright © 2017 Pivotal Software, Inc.. All rights reserved.