@Configuration(proxyBeanMethods=false)
public static class WebMvcAutoConfiguration.EnableWebMvcConfiguration
extends org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
implements org.springframework.context.ResourceLoaderAware
@EnableWebMvc
.Constructor and Description |
---|
EnableWebMvcConfiguration(ResourceProperties resourceProperties,
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 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 void |
extendHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers) |
protected org.springframework.web.bind.support.ConfigurableWebBindingInitializer |
getConfigurableWebBindingInitializer(org.springframework.format.support.FormattingConversionService mvcConversionService,
org.springframework.validation.Validator mvcValidator) |
org.springframework.web.accept.ContentNegotiationManager |
mvcContentNegotiationManager() |
org.springframework.format.support.FormattingConversionService |
mvcConversionService() |
org.springframework.validation.Validator |
mvcValidator() |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter |
requestMappingHandlerAdapter(org.springframework.web.accept.ContentNegotiationManager mvcContentNegotiationManager,
org.springframework.format.support.FormattingConversionService mvcConversionService,
org.springframework.validation.Validator mvcValidator) |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping |
requestMappingHandlerMapping(org.springframework.web.accept.ContentNegotiationManager mvcContentNegotiationManager,
org.springframework.format.support.FormattingConversionService mvcConversionService,
org.springframework.web.servlet.resource.ResourceUrlProvider mvcResourceUrlProvider) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping |
welcomePageHandlerMapping(org.springframework.context.ApplicationContext applicationContext,
org.springframework.format.support.FormattingConversionService mvcConversionService,
org.springframework.web.servlet.resource.ResourceUrlProvider mvcResourceUrlProvider) |
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator, setConfigurers
addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, beanNameHandlerMapping, defaultServletHandlerMapping, getApplicationContext, getArgumentResolvers, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, handlerExceptionResolver, handlerFunctionAdapter, httpRequestHandlerAdapter, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcViewResolver, resourceHandlerMapping, routerFunctionMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMapping
public EnableWebMvcConfiguration(ResourceProperties resourceProperties, 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(org.springframework.web.accept.ContentNegotiationManager mvcContentNegotiationManager, org.springframework.format.support.FormattingConversionService mvcConversionService, org.springframework.validation.Validator mvcValidator)
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(org.springframework.web.accept.ContentNegotiationManager mvcContentNegotiationManager, org.springframework.format.support.FormattingConversionService mvcConversionService, org.springframework.web.servlet.resource.ResourceUrlProvider mvcResourceUrlProvider)
requestMappingHandlerMapping
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
@Bean public org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping welcomePageHandlerMapping(org.springframework.context.ApplicationContext applicationContext, org.springframework.format.support.FormattingConversionService mvcConversionService, org.springframework.web.servlet.resource.ResourceUrlProvider mvcResourceUrlProvider)
@Bean public org.springframework.format.support.FormattingConversionService mvcConversionService()
mvcConversionService
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(org.springframework.format.support.FormattingConversionService mvcConversionService, org.springframework.validation.Validator mvcValidator)
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 extendHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers)
extendHandlerExceptionResolvers
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
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.