Class SitePreferenceAutoConfiguration.SitePreferenceMvcConfiguration
- java.lang.Object
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
- org.springframework.boot.autoconfigure.mobile.SitePreferenceAutoConfiguration.SitePreferenceMvcConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- Enclosing class:
- SitePreferenceAutoConfiguration
@Configuration protected static class SitePreferenceAutoConfiguration.SitePreferenceMvcConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
Constructor Summary
Constructors Modifier Constructor Description protectedSitePreferenceMvcConfiguration(org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor sitePreferenceHandlerInterceptor, org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver sitePreferenceHandlerMethodArgumentResolver)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
Constructor Detail
SitePreferenceMvcConfiguration
protected SitePreferenceMvcConfiguration(org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor sitePreferenceHandlerInterceptor, org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver sitePreferenceHandlerMethodArgumentResolver)
Method Detail
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer- Overrides:
addInterceptorsin classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
- Specified by:
addArgumentResolversin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer- Overrides:
addArgumentResolversin classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter