@Configuration @ConditionalOnClass(value=SiteSwitcherHandlerInterceptor.class) @AutoConfigureAfter(value=DeviceResolverAutoConfiguration.class) @ConditionalOnProperty(prefix="spring.mobile.siteswitcher", name="enabled", havingValue="true", matchIfMissing=true) @ConditionalOnWebApplication(type=SERVLET) public class SiteSwitcherAutoConfiguration extends Object
Auto-configuration
for Spring Mobile's
SiteSwitcherHandler
. The site switcher feature depends on a
DeviceResolver
first being registered.Modifier and Type | Class and Description |
---|---|
protected static class |
SiteSwitcherAutoConfiguration.SiteSwitcherConfigurationAdapter |
Constructor and Description |
---|
SiteSwitcherAutoConfiguration() |