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 protected
SitePreferenceMvcConfiguration(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 void
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
void
addInterceptors(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:
addInterceptors
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
- Overrides:
addInterceptors
in classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
- Specified by:
addArgumentResolvers
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
- Overrides:
addArgumentResolvers
in classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter