@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() |
ResourceUrlEncodingFilter |
resourceUrlEncodingFilter() |
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") @ConditionalOnProperty(name="spring.freemarker.enabled", matchIfMissing=true) public FreeMarkerViewResolver freeMarkerViewResolver()
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledResourceChain public ResourceUrlEncodingFilter resourceUrlEncodingFilter()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.