Class GroovyTemplateAutoConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAutoConfiguration
@Configuration @ConditionalOnClass(groovy.text.markup.MarkupTemplateEngine.class) @AutoConfigureAfter(WebMvcAutoConfiguration.class) @EnableConfigurationProperties(GroovyTemplateProperties.class) public class GroovyTemplateAutoConfiguration extends Object
Auto-configuration support for Groovy templates in MVC. By default creates aMarkupTemplateEngine
configured fromGroovyTemplateProperties
, but you can override that by providing your ownGroovyMarkupConfig
or even aMarkupTemplateEngine
of a different type.- Since:
- 1.1.0
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroovyTemplateAutoConfiguration.GroovyMarkupConfiguration
static class
GroovyTemplateAutoConfiguration.GroovyWebConfiguration
Constructor Summary
Constructors Constructor Description GroovyTemplateAutoConfiguration()
Constructor Detail
GroovyTemplateAutoConfiguration
public GroovyTemplateAutoConfiguration()