@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() |
Validator |
mvcValidator() |
RequestMappingHandlerAdapter |
requestMappingHandlerAdapter() |
RequestMappingHandlerMapping |
requestMappingHandlerMapping() |
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator, setConfigurersaddDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, beanNameHandlerMapping, defaultServletHandlerMapping, getApplicationContext, getArgumentResolvers, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, handlerExceptionResolver, httpRequestHandlerAdapter, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcViewResolver, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMappingpublic EnableWebMvcConfiguration(ObjectProvider<WebMvcProperties> mvcPropertiesProvider, ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider, ListableBeanFactory beanFactory)
@Bean public RequestMappingHandlerAdapter requestMappingHandlerAdapter()
requestMappingHandlerAdapter in class WebMvcConfigurationSupportprotected RequestMappingHandlerAdapter createRequestMappingHandlerAdapter()
createRequestMappingHandlerAdapter in class WebMvcConfigurationSupport@Bean @Primary public RequestMappingHandlerMapping requestMappingHandlerMapping()
requestMappingHandlerMapping in class WebMvcConfigurationSupport@Bean public Validator mvcValidator()
mvcValidator in class WebMvcConfigurationSupportprotected RequestMappingHandlerMapping createRequestMappingHandlerMapping()
createRequestMappingHandlerMapping in class WebMvcConfigurationSupportprotected ConfigurableWebBindingInitializer getConfigurableWebBindingInitializer()
getConfigurableWebBindingInitializer in class WebMvcConfigurationSupportprotected ExceptionHandlerExceptionResolver createExceptionHandlerExceptionResolver()
createExceptionHandlerExceptionResolver in class WebMvcConfigurationSupportprotected void configureHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)
configureHandlerExceptionResolvers in class DelegatingWebMvcConfiguration@Bean public ContentNegotiationManager mvcContentNegotiationManager()
mvcContentNegotiationManager in class WebMvcConfigurationSupportCopyright © 2019 Pivotal Software, Inc.. All rights reserved.