@Configuration public static class WebMvcAutoConfiguration.EnableWebMvcConfiguration extends DelegatingWebMvcConfiguration implements InitializingBean
@EnableWebMvc.| Constructor and Description |
|---|
EnableWebMvcConfiguration(ObjectProvider<WebMvcProperties> mvcPropertiesProvider,
ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider,
ApplicationContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
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, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcViewResolver, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMappingpublic EnableWebMvcConfiguration(ObjectProvider<WebMvcProperties> mvcPropertiesProvider, ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider, ApplicationContext context)
@Bean public RequestMappingHandlerAdapter requestMappingHandlerAdapter()
requestMappingHandlerAdapter in class WebMvcConfigurationSupportprotected RequestMappingHandlerAdapter createRequestMappingHandlerAdapter()
createRequestMappingHandlerAdapter in class WebMvcConfigurationSupport@Bean @Primary public RequestMappingHandlerMapping requestMappingHandlerMapping()
requestMappingHandlerMapping in class WebMvcConfigurationSupport@Bean @Conditional(value=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration.DisableMvcValidatorCondition.class) 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 WebMvcConfigurationSupportpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.