クラス 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 ExceptionHandlerExceptionResolver
protected RequestMappingHandlerAdapter
protected RequestMappingHandlerMapping
protected void
extendHandlerExceptionResolvers
(ListSE<HandlerExceptionResolver> exceptionResolvers) protected ConfigurableWebBindingInitializer
getConfigurableWebBindingInitializer
(FormattingConversionService mvcConversionService, Validator mvcValidator) void
setResourceLoader
(ResourceLoader resourceLoader) 使用すべきではありません。org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping
welcomePageHandlerMapping
(ApplicationContext applicationContext, FormattingConversionService mvcConversionService, ResourceUrlProvider mvcResourceUrlProvider) org.springframework.boot.autoconfigure.web.servlet.WelcomePageNotAcceptableHandlerMapping
welcomePageNotAcceptableHandlerMapping
(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