@Configuration @ConditionalOnClass(value={org.springframework.mobile.device.DeviceResolverHandlerInterceptor.class,org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver.class}) @ConditionalOnWebApplication public class DeviceResolverAutoConfiguration extends Object
Auto-configuration
for Spring Mobile's
DeviceResolver
.Modifier and Type | Class and Description |
---|---|
protected static class |
DeviceResolverAutoConfiguration.DeviceResolverMvcConfiguration |
Constructor and Description |
---|
DeviceResolverAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver |
deviceHandlerMethodArgumentResolver() |
org.springframework.mobile.device.DeviceResolverHandlerInterceptor |
deviceResolverHandlerInterceptor() |
@Bean @ConditionalOnMissingBean(value=org.springframework.mobile.device.DeviceResolverHandlerInterceptor.class) public org.springframework.mobile.device.DeviceResolverHandlerInterceptor deviceResolverHandlerInterceptor()
@Bean public org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver deviceHandlerMethodArgumentResolver()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.