@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() |
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, mvcContentNegotiationManager, mvcConversionService, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, 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
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
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.