@Configuration @ConditionalOnClass(value=javax.servlet.Servlet.class) @ConditionalOnWebApplication public static class FreeMarkerAutoConfiguration.FreeMarkerWebConfiguration extends FreeMarkerAutoConfiguration.FreeMarkerConfiguration
properties
Constructor and Description |
---|
FreeMarkerWebConfiguration() |
Modifier and Type | Method and Description |
---|---|
freemarker.template.Configuration |
freeMarkerConfiguration(FreeMarkerConfig configurer) |
FreeMarkerConfigurer |
freeMarkerConfigurer() |
FreeMarkerViewResolver |
freeMarkerViewResolver() |
applyProperties
@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.view.freemarker.FreeMarkerConfig.class) public FreeMarkerConfigurer freeMarkerConfigurer()
@Bean public freemarker.template.Configuration freeMarkerConfiguration(FreeMarkerConfig configurer)
@Bean @ConditionalOnMissingBean(name="freeMarkerViewResolver") public FreeMarkerViewResolver freeMarkerViewResolver()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.