@Configuration @ConditionalOnClass(value={javax.servlet.Servlet.class,org.springframework.context.i18n.LocaleContextHolder.class,org.springframework.web.servlet.view.UrlBasedViewResolver.class}) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnProperty(name="spring.groovy.template.enabled", matchIfMissing=true) public static class GroovyTemplateAutoConfiguration.GroovyWebConfiguration extends Object
Constructor and Description |
---|
GroovyWebConfiguration() |
Modifier and Type | Method and Description |
---|---|
GroovyMarkupViewResolver |
groovyMarkupViewResolver(GroovyTemplateProperties properties) |
@Bean @ConditionalOnMissingBean(name="groovyMarkupViewResolver") public GroovyMarkupViewResolver groovyMarkupViewResolver(GroovyTemplateProperties properties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.