@Configuration public static class WebMvcAutoConfiguration.EnableWebMvcConfiguration extends DelegatingWebMvcConfiguration
@EnableWebMvc
と同等の構成。コンストラクターと説明 |
---|
EnableWebMvcConfiguration(ObjectProvider<WebMvcProperties> mvcPropertiesProvider, ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider, ListableBeanFactory beanFactory) |
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
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public EnableWebMvcConfiguration(ObjectProvider<WebMvcProperties> mvcPropertiesProvider, ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider, ListableBeanFactory beanFactory)
@Bean public RequestMappingHandlerAdapter requestMappingHandlerAdapter()
WebMvcConfigurationSupport
の requestMappingHandlerAdapter
protected RequestMappingHandlerAdapter createRequestMappingHandlerAdapter()
WebMvcConfigurationSupport
の createRequestMappingHandlerAdapter
@Bean @Primary public RequestMappingHandlerMapping requestMappingHandlerMapping()
WebMvcConfigurationSupport
の requestMappingHandlerMapping
@Bean public FormattingConversionService mvcConversionService()
WebMvcConfigurationSupport
の mvcConversionService
@Bean public Validator mvcValidator()
WebMvcConfigurationSupport
の mvcValidator
protected RequestMappingHandlerMapping createRequestMappingHandlerMapping()
WebMvcConfigurationSupport
の createRequestMappingHandlerMapping
protected ConfigurableWebBindingInitializer getConfigurableWebBindingInitializer()
WebMvcConfigurationSupport
の getConfigurableWebBindingInitializer
protected ExceptionHandlerExceptionResolver createExceptionHandlerExceptionResolver()
protected void configureHandlerExceptionResolvers(ListSE<HandlerExceptionResolver> exceptionResolvers)
DelegatingWebMvcConfiguration
の configureHandlerExceptionResolvers
@Bean public ContentNegotiationManager mvcContentNegotiationManager()
WebMvcConfigurationSupport
の mvcContentNegotiationManager
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.