@Configuration
public static class WebMvcAutoConfiguration.EnableWebMvcConfiguration
extends org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
@EnableWebMvc
.Constructor and Description |
---|
EnableWebMvcConfiguration(org.springframework.beans.factory.ObjectProvider<WebMvcProperties> mvcPropertiesProvider,
org.springframework.beans.factory.ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider,
org.springframework.beans.factory.ListableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers) |
protected org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver |
createExceptionHandlerExceptionResolver() |
protected org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter |
createRequestMappingHandlerAdapter() |
protected org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping |
createRequestMappingHandlerMapping() |
protected org.springframework.web.bind.support.ConfigurableWebBindingInitializer |
getConfigurableWebBindingInitializer() |
org.springframework.web.accept.ContentNegotiationManager |
mvcContentNegotiationManager() |
org.springframework.validation.Validator |
mvcValidator() |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter |
requestMappingHandlerAdapter() |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping |
requestMappingHandlerMapping() |
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator, setConfigurers
addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, beanNameHandlerMapping, defaultServletHandlerMapping, getApplicationContext, getArgumentResolvers, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, handlerExceptionResolver, httpRequestHandlerAdapter, mvcConversionService, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcViewResolver, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMapping
public EnableWebMvcConfiguration(org.springframework.beans.factory.ObjectProvider<WebMvcProperties> mvcPropertiesProvider, org.springframework.beans.factory.ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider, org.springframework.beans.factory.ListableBeanFactory beanFactory)
@Bean public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter requestMappingHandlerAdapter()
requestMappingHandlerAdapter
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
protected org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter createRequestMappingHandlerAdapter()
createRequestMappingHandlerAdapter
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
@Bean @Primary public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping requestMappingHandlerMapping()
requestMappingHandlerMapping
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
@Bean public org.springframework.validation.Validator mvcValidator()
mvcValidator
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
protected org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping createRequestMappingHandlerMapping()
createRequestMappingHandlerMapping
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
protected org.springframework.web.bind.support.ConfigurableWebBindingInitializer getConfigurableWebBindingInitializer()
getConfigurableWebBindingInitializer
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
protected org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver createExceptionHandlerExceptionResolver()
createExceptionHandlerExceptionResolver
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
protected void configureHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers)
configureHandlerExceptionResolvers
in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
@Bean public org.springframework.web.accept.ContentNegotiationManager mvcContentNegotiationManager()
mvcContentNegotiationManager
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.