类 DeviceResolverAutoConfiguration.DeviceResolverMvcConfiguration
- java.lang.Object
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
- org.springframework.boot.autoconfigure.mobile.DeviceResolverAutoConfiguration.DeviceResolverMvcConfiguration
- 所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration @Order(0) protected static class DeviceResolverAutoConfiguration.DeviceResolverMvcConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
构造器概要
构造器 限定符 构造器 说明 protectedDeviceResolverMvcConfiguration(org.springframework.mobile.device.DeviceResolverHandlerInterceptor deviceResolverHandlerInterceptor, org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver deviceHandlerMethodArgumentResolver)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)voidaddInterceptors(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
构造器详细资料
DeviceResolverMvcConfiguration
protected DeviceResolverMvcConfiguration(org.springframework.mobile.device.DeviceResolverHandlerInterceptor deviceResolverHandlerInterceptor, org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver deviceHandlerMethodArgumentResolver)
方法详细资料
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