类 SitePreferenceAutoConfiguration.SitePreferenceMvcConfiguration
- java.lang.Object
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
- org.springframework.boot.autoconfigure.mobile.SitePreferenceAutoConfiguration.SitePreferenceMvcConfiguration
- 所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration protected static class SitePreferenceAutoConfiguration.SitePreferenceMvcConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
构造器概要
构造器 限定符 构造器 说明 protected
SitePreferenceMvcConfiguration(org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor sitePreferenceHandlerInterceptor, org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver sitePreferenceHandlerMethodArgumentResolver)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
void
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
从类继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
构造器详细资料
SitePreferenceMvcConfiguration
protected SitePreferenceMvcConfiguration(org.springframework.mobile.device.site.SitePreferenceHandlerInterceptor sitePreferenceHandlerInterceptor, org.springframework.mobile.device.site.SitePreferenceHandlerMethodArgumentResolver sitePreferenceHandlerMethodArgumentResolver)
方法详细资料
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- 指定者:
addInterceptors
在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- 覆盖:
addInterceptors
在类中org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
- 指定者:
addArgumentResolvers
在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- 覆盖:
addArgumentResolvers
在类中org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter