@Configuration public static class WebMvcAutoConfiguration.EnableWebMvcConfiguration extends DelegatingWebMvcConfiguration
@EnableWebMvc
.Constructor and Description |
---|
EnableWebMvcConfiguration(ObjectProvider<WebMvcProperties> mvcPropertiesProvider,
ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider,
ListableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers) |
protected ExceptionHandlerExceptionResolver |
createExceptionHandlerExceptionResolver() |
protected RequestMappingHandlerAdapter |
createRequestMappingHandlerAdapter() |
protected RequestMappingHandlerMapping |
createRequestMappingHandlerMapping() |
protected ConfigurableWebBindingInitializer |
getConfigurableWebBindingInitializer() |
ContentNegotiationManager |
mvcContentNegotiationManager() |
FormattingConversionService |
mvcConversionService() |
Validator |
mvcValidator() |
RequestMappingHandlerAdapter |
requestMappingHandlerAdapter() |
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, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcViewResolver, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMapping
public EnableWebMvcConfiguration(ObjectProvider<WebMvcProperties> mvcPropertiesProvider, ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider, ListableBeanFactory beanFactory)
@Bean public RequestMappingHandlerAdapter requestMappingHandlerAdapter()
requestMappingHandlerAdapter
in class WebMvcConfigurationSupport
protected RequestMappingHandlerAdapter createRequestMappingHandlerAdapter()
createRequestMappingHandlerAdapter
in class WebMvcConfigurationSupport
@Bean @Primary public RequestMappingHandlerMapping requestMappingHandlerMapping()
requestMappingHandlerMapping
in class WebMvcConfigurationSupport
@Bean public FormattingConversionService mvcConversionService()
mvcConversionService
in class WebMvcConfigurationSupport
@Bean public Validator mvcValidator()
mvcValidator
in class WebMvcConfigurationSupport
protected RequestMappingHandlerMapping createRequestMappingHandlerMapping()
createRequestMappingHandlerMapping
in class WebMvcConfigurationSupport
protected ConfigurableWebBindingInitializer getConfigurableWebBindingInitializer()
getConfigurableWebBindingInitializer
in class WebMvcConfigurationSupport
protected ExceptionHandlerExceptionResolver createExceptionHandlerExceptionResolver()
createExceptionHandlerExceptionResolver
in class WebMvcConfigurationSupport
protected void configureHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)
configureHandlerExceptionResolvers
in class DelegatingWebMvcConfiguration
@Bean public ContentNegotiationManager mvcContentNegotiationManager()
mvcContentNegotiationManager
in class WebMvcConfigurationSupport
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.