@ConfigurationProperties(prefix="spring.freemarker") public class FreeMarkerProperties extends AbstractTemplateViewResolverProperties
ConfigurationProperties
for configuring FreeMarkerModifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFIX |
static String |
DEFAULT_SUFFIX |
static String |
DEFAULT_TEMPLATE_LOADER_PATH |
Constructor and Description |
---|
FreeMarkerProperties() |
Modifier and Type | Method and Description |
---|---|
void |
applyToViewResolver(FreeMarkerViewResolver resolver)
Apply the given properties to a
FreeMarkerViewResolver . |
Map<String,String> |
getSettings() |
String |
getTemplateLoaderPath() |
void |
setSettings(Map<String,String> settings) |
void |
setTemplateLoaderPath(String templateLoaderPath) |
getCharSet, getContentType, getPrefix, getRequestContextAttribute, getSuffix, getViewNames, isAllowRequestOverride, isCache, isCheckTemplateLocation, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setCache, setCharSet, setCheckTemplateLocation, setContentType, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setPrefix, setRequestContextAttribute, setSuffix, setViewNames
public static final String DEFAULT_TEMPLATE_LOADER_PATH
public static final String DEFAULT_PREFIX
public static final String DEFAULT_SUFFIX
public String getTemplateLoaderPath()
public void setTemplateLoaderPath(String templateLoaderPath)
public void applyToViewResolver(FreeMarkerViewResolver resolver)
FreeMarkerViewResolver
.applyToViewResolver
in class AbstractTemplateViewResolverProperties
resolver
- the resolver to apply the properties to.Copyright © 2014 Pivotal Software, Inc.. All rights reserved.