@Configuration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=LiteDeviceDelegatingViewResolver.class) @ConditionalOnProperty(prefix="spring.mobile.devicedelegatingviewresolver", name="enabled", havingValue="true") @EnableConfigurationProperties(value=DeviceDelegatingViewResolverProperties.class) @AutoConfigureAfter(value={org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class,org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration.class,org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAutoConfiguration.class,org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration.class,org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration.class}) public class DeviceDelegatingViewResolverAutoConfiguration extends Object
Auto-configuration
for Spring Mobile's
LiteDeviceDelegatingViewResolver
. If available, each of the following
ViewResolver
implementations will be configured:
ThymeleafViewResolver
GroovyMarkupViewResolver
FreeMarkerViewResolver
MustacheViewResolver
InternalResourceViewResolver
Modifier and Type | Class and Description |
---|---|
protected static class |
DeviceDelegatingViewResolverAutoConfiguration.DeviceDelegatingFreeMarkerViewResolverConfiguration |
protected static class |
DeviceDelegatingViewResolverAutoConfiguration.DeviceDelegatingGroovyMarkupViewResolverConfiguration |
protected static class |
DeviceDelegatingViewResolverAutoConfiguration.DeviceDelegatingJspViewResolverConfiguration |
protected static class |
DeviceDelegatingViewResolverAutoConfiguration.DeviceDelegatingMustacheViewResolverConfiguration |
protected static class |
DeviceDelegatingViewResolverAutoConfiguration.DeviceDelegatingThymeleafViewResolverConfiguration |
protected static class |
DeviceDelegatingViewResolverAutoConfiguration.LiteDeviceDelegatingViewResolverFactoryConfiguration |
Constructor and Description |
---|
DeviceDelegatingViewResolverAutoConfiguration() |