@Configuration @ConditionalOnClass(value={javax.servlet.Servlet.class,org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer.class}) @ConditionalOnWebApplication(type=SERVLET) public static class FreeMarkerAutoConfiguration.FreeMarkerWebConfiguration extends FreeMarkerAutoConfiguration.FreeMarkerConfiguration
properties
Constructor and Description |
---|
FreeMarkerWebConfiguration() |
Modifier and Type | Method and Description |
---|---|
freemarker.template.Configuration |
freeMarkerConfiguration(org.springframework.web.servlet.view.freemarker.FreeMarkerConfig configurer) |
org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer |
freeMarkerConfigurer() |
org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver |
freeMarkerViewResolver() |
org.springframework.web.servlet.resource.ResourceUrlEncodingFilter |
resourceUrlEncodingFilter() |
applyProperties
@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.view.freemarker.FreeMarkerConfig.class) public org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer freeMarkerConfigurer()
@Bean public freemarker.template.Configuration freeMarkerConfiguration(org.springframework.web.servlet.view.freemarker.FreeMarkerConfig configurer)
@Bean @ConditionalOnMissingBean(name="freeMarkerViewResolver") @ConditionalOnProperty(name="spring.freemarker.enabled", matchIfMissing=true) public org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver freeMarkerViewResolver()
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledResourceChain public org.springframework.web.servlet.resource.ResourceUrlEncodingFilter resourceUrlEncodingFilter()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.