@Configuration @ConditionalOnWebApplication protected static class DeviceResolverAutoConfiguration.DeviceResolverMvcConfiguration extends WebMvcConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
DeviceResolverMvcConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) |
void |
addInterceptors(InterceptorRegistry registry) |
org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver |
deviceHandlerMethodArgumentResolver() |
org.springframework.mobile.device.DeviceResolverHandlerInterceptor |
deviceResolverHandlerInterceptor() |
addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureCors, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@Bean @ConditionalOnMissingBean(value=org.springframework.mobile.device.DeviceResolverHandlerInterceptor.class) public org.springframework.mobile.device.DeviceResolverHandlerInterceptor deviceResolverHandlerInterceptor()
@Bean public org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver deviceHandlerMethodArgumentResolver()
public void addInterceptors(InterceptorRegistry registry)
addInterceptors
in interface WebMvcConfigurer
addInterceptors
in class WebMvcConfigurerAdapter
public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers
in interface WebMvcConfigurer
addArgumentResolvers
in class WebMvcConfigurerAdapter
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.