@ConfigurationProperties(prefix="spring.freemarker") public class FreeMarkerProperties extends AbstractTemplateViewResolverProperties
@ConfigurationProperties for configuring FreeMarker.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PREFIX |
static java.lang.String |
DEFAULT_SUFFIX |
static java.lang.String |
DEFAULT_TEMPLATE_LOADER_PATH |
| Constructor and Description |
|---|
FreeMarkerProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getSettings() |
java.lang.String[] |
getTemplateLoaderPath() |
boolean |
isPreferFileSystemAccess() |
void |
setPreferFileSystemAccess(boolean preferFileSystemAccess) |
void |
setSettings(java.util.Map<java.lang.String,java.lang.String> settings) |
void |
setTemplateLoaderPath(java.lang.String... templateLoaderPaths) |
applyToMvcViewResolver, getPrefix, getRequestContextAttribute, getSuffix, isAllowRequestOverride, isAllowSessionOverride, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setPrefix, setRequestContextAttribute, setSuffixgetCharset, getCharsetName, getContentType, getViewNames, isCache, isCheckTemplateLocation, isEnabled, setCache, setCharset, setCheckTemplateLocation, setContentType, setEnabled, setViewNamespublic static final java.lang.String DEFAULT_TEMPLATE_LOADER_PATH
public static final java.lang.String DEFAULT_PREFIX
public static final java.lang.String DEFAULT_SUFFIX
public java.util.Map<java.lang.String,java.lang.String> getSettings()
public void setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
public java.lang.String[] getTemplateLoaderPath()
public boolean isPreferFileSystemAccess()
public void setPreferFileSystemAccess(boolean preferFileSystemAccess)
public void setTemplateLoaderPath(java.lang.String... templateLoaderPaths)