クラス WebMvcAutoConfiguration.EnableWebMvcConfiguration
java.lang.ObjectSE
org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.EnableWebMvcConfiguration
- 実装されているすべてのインターフェース:
Aware、ApplicationContextAware、ResourceLoaderAware、ServletContextAware
- 含まれているクラス:
- WebMvcAutoConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(WebProperties.class)
public static class WebMvcAutoConfiguration.EnableWebMvcConfiguration
extends DelegatingWebMvcConfiguration
implements ResourceLoaderAware
@EnableWebMvc と同等の構成。コンストラクターの概要
コンストラクターコンストラクター説明EnableWebMvcConfiguration(WebMvcProperties mvcProperties, WebProperties webProperties, ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider, ObjectProvider<org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizerProvider, ListableBeanFactory beanFactory) メソッドのサマリー
修飾子と型メソッド説明protected ExceptionHandlerExceptionResolverprotected RequestMappingHandlerAdapterprotected RequestMappingHandlerMappingprotected voidextendHandlerExceptionResolvers(ListSE<HandlerExceptionResolver> exceptionResolvers) protected ConfigurableWebBindingInitializergetConfigurableWebBindingInitializer(FormattingConversionService mvcConversionService, Validator mvcValidator) voidsetResourceLoader(ResourceLoader resourceLoader) 使用すべきではありません。org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMappingwelcomePageHandlerMapping(ApplicationContext applicationContext, FormattingConversionService mvcConversionService, ResourceUrlProvider mvcResourceUrlProvider) org.springframework.boot.autoconfigure.web.servlet.WelcomePageNotAcceptableHandlerMappingwelcomePageNotAcceptableHandlerMapping(ApplicationContext applicationContext, FormattingConversionService mvcConversionService, ResourceUrlProvider mvcResourceUrlProvider) クラス org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration から継承されたメソッド
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureErrorResponseInterceptors, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator, setConfigurersクラス org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport から継承されたメソッド
addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, beanNameHandlerMapping, defaultServletHandlerMapping, getApplicationContext, getArgumentResolvers, getAsyncSupportConfigurer, getCorsConfigurations, getDefaultMediaTypes, getErrorResponseInterceptors, getInterceptors, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, handlerExceptionResolver, handlerFunctionAdapter, httpRequestHandlerAdapter, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcPatternParser, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, routerFunctionMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMapping
コンストラクターの詳細
EnableWebMvcConfiguration
public EnableWebMvcConfiguration(WebMvcProperties mvcProperties, WebProperties webProperties, ObjectProvider<WebMvcRegistrations> mvcRegistrationsProvider, ObjectProvider<org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizerProvider, ListableBeanFactory beanFactory)
メソッドの詳細
createRequestMappingHandlerAdapter
- オーバーライド:
- クラス
WebMvcConfigurationSupportのcreateRequestMappingHandlerAdapter
welcomePageHandlerMapping
@Bean public org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping welcomePageHandlerMapping(ApplicationContext applicationContext, FormattingConversionService mvcConversionService, ResourceUrlProvider mvcResourceUrlProvider) welcomePageNotAcceptableHandlerMapping
@Bean public org.springframework.boot.autoconfigure.web.servlet.WelcomePageNotAcceptableHandlerMapping welcomePageNotAcceptableHandlerMapping(ApplicationContext applicationContext, FormattingConversionService mvcConversionService, ResourceUrlProvider mvcResourceUrlProvider) localeResolver
- オーバーライド:
- クラス
WebMvcConfigurationSupportのlocaleResolver
themeResolver
@Bean @ConditionalOnMissingBean(name="themeResolver") @DeprecatedSE(since="3.0.0", forRemoval=false) public ThemeResolver themeResolver()使用すべきではありません。- オーバーライド:
- クラス
WebMvcConfigurationSupportのthemeResolver
flashMapManager
- オーバーライド:
- クラス
WebMvcConfigurationSupportのflashMapManager
viewNameTranslator
@Bean @ConditionalOnMissingBean(name="viewNameTranslator") public RequestToViewNameTranslator viewNameTranslator()- オーバーライド:
- クラス
WebMvcConfigurationSupportのviewNameTranslator
mvcConversionService
- オーバーライド:
- クラス
WebMvcConfigurationSupportのmvcConversionService
mvcValidator
- オーバーライド:
- クラス
WebMvcConfigurationSupportのmvcValidator
createRequestMappingHandlerMapping
- オーバーライド:
- クラス
WebMvcConfigurationSupportのcreateRequestMappingHandlerMapping
getConfigurableWebBindingInitializer
protected ConfigurableWebBindingInitializer getConfigurableWebBindingInitializer(FormattingConversionService mvcConversionService, Validator mvcValidator) - オーバーライド:
- クラス
WebMvcConfigurationSupportのgetConfigurableWebBindingInitializer
createExceptionHandlerExceptionResolver
extendHandlerExceptionResolvers
- オーバーライド:
- クラス
DelegatingWebMvcConfigurationのextendHandlerExceptionResolvers
mvcContentNegotiationManager
- オーバーライド:
- クラス
WebMvcConfigurationSupportのmvcContentNegotiationManager
setResourceLoader
- 次で指定:
- インターフェース
ResourceLoaderAwareのsetResourceLoader