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
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_PREFIX
static String
DEFAULT_SUFFIX
static String
DEFAULT_TEMPLATE_LOADER_PATH
Constructor Summary
Constructors Constructor Description FreeMarkerProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getSettings()
String[]
getTemplateLoaderPath()
boolean
isPreferFileSystemAccess()
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 Detail
DEFAULT_TEMPLATE_LOADER_PATH
public static final String DEFAULT_TEMPLATE_LOADER_PATH
- See Also:
- Constant Field Values
DEFAULT_PREFIX
public static final String DEFAULT_PREFIX
- See Also:
- Constant Field Values
DEFAULT_SUFFIX
public static final String DEFAULT_SUFFIX
- See Also:
- Constant Field Values
Constructor Detail
FreeMarkerProperties
public FreeMarkerProperties()
Method Detail
getSettings
public Map<String,String> getSettings()
setSettings
public void setSettings(Map<String,String> settings)
getTemplateLoaderPath
public String[] getTemplateLoaderPath()
isPreferFileSystemAccess
public boolean isPreferFileSystemAccess()
setPreferFileSystemAccess
public void setPreferFileSystemAccess(boolean preferFileSystemAccess)
setTemplateLoaderPath
public void setTemplateLoaderPath(String... templateLoaderPaths)