类 FreeMarkerProperties
java.lang.Object
org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
org.springframework.boot.autoconfigure.freemarker.FreeMarkerProperties
@ConfigurationProperties(prefix="spring.freemarker")
public class FreeMarkerProperties
extends AbstractTemplateViewResolverProperties
@ConfigurationProperties
for configuring FreeMarker.- 从以下版本开始:
- 1.1.0
- 作者:
- Dave Syer, Andy Wilkinson
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明String[]
boolean
void
setPreferFileSystemAccess
(boolean preferFileSystemAccess) void
setSettings
(Map<String, String> settings) void
setTemplateLoaderPath
(String... templateLoaderPaths) 从类继承的方法 org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
applyToMvcViewResolver, getPrefix, getRequestContextAttribute, getSuffix, isAllowRequestOverride, isAllowSessionOverride, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setPrefix, setRequestContextAttribute, setSuffix
从类继承的方法 org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
getCharset, getCharsetName, getContentType, getViewNames, isCache, isCheckTemplateLocation, isEnabled, setCache, setCharset, setCheckTemplateLocation, setContentType, setEnabled, setViewNames
-
字段详细资料
-
DEFAULT_TEMPLATE_LOADER_PATH
- 另请参阅:
-
DEFAULT_PREFIX
- 另请参阅:
-
DEFAULT_SUFFIX
- 另请参阅:
-
-
构造器详细资料
-
FreeMarkerProperties
public FreeMarkerProperties()
-
-
方法详细资料
-
getSettings
-
setSettings
-
getTemplateLoaderPath
-
setTemplateLoaderPath
-
isPreferFileSystemAccess
public boolean isPreferFileSystemAccess() -
setPreferFileSystemAccess
public void setPreferFileSystemAccess(boolean preferFileSystemAccess)
-