Class 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.- Since:
- 1.1.0
- Author:
- Dave Syer, Andy Wilkinson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
boolean
void
setPreferFileSystemAccess
(boolean preferFileSystemAccess) void
setSettings
(Map<String, String> settings) void
setTemplateLoaderPath
(String... templateLoaderPaths) Methods inherited from class org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
applyToMvcViewResolver, getPrefix, getRequestContextAttribute, getSuffix, isAllowRequestOverride, isAllowSessionOverride, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setPrefix, setRequestContextAttribute, setSuffix
Methods inherited from class org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
getCharset, getCharsetName, getContentType, getViewNames, isCache, isCheckTemplateLocation, isEnabled, setCache, setCharset, setCheckTemplateLocation, setContentType, setEnabled, setViewNames
-
Field Details
-
DEFAULT_TEMPLATE_LOADER_PATH
- See Also:
-
DEFAULT_PREFIX
- See Also:
-
DEFAULT_SUFFIX
- See Also:
-
-
Constructor Details
-
FreeMarkerProperties
public FreeMarkerProperties()
-
-
Method Details
-
getSettings
-
setSettings
-
getTemplateLoaderPath
-
setTemplateLoaderPath
-
isPreferFileSystemAccess
public boolean isPreferFileSystemAccess() -
setPreferFileSystemAccess
public void setPreferFileSystemAccess(boolean preferFileSystemAccess)
-