类 FreeMarkerAutoConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration
@Configuration @ConditionalOnClass({freemarker.template.Configuration.class,org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.class}) @EnableConfigurationProperties(FreeMarkerProperties.class) @Import({org.springframework.boot.autoconfigure.freemarker.FreeMarkerServletWebConfiguration.class,org.springframework.boot.autoconfigure.freemarker.FreeMarkerReactiveWebConfiguration.class,org.springframework.boot.autoconfigure.freemarker.FreeMarkerNonWebConfiguration.class}) public class FreeMarkerAutoConfiguration extends Object
Auto-configuration
for FreeMarker.- 从以下版本开始:
- 1.1.0
构造器概要
构造器 构造器 说明 FreeMarkerAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, FreeMarkerProperties properties)
构造器详细资料
FreeMarkerAutoConfiguration
public FreeMarkerAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, FreeMarkerProperties properties)
方法详细资料
checkTemplateLocationExists
@PostConstruct public void checkTemplateLocationExists()