public class MustacheViewResolver extends AbstractTemplateViewResolver
ViewResolver
for Mustache.FORWARD_URL_PREFIX, REDIRECT_URL_PREFIX
DEFAULT_CACHE_LIMIT
logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
MustacheViewResolver() |
Modifier and Type | Method and Description |
---|---|
protected View |
loadView(String viewName,
Locale locale) |
protected Class<?> |
requiredViewClass() |
void |
setCharset(String charset)
Set the charset.
|
void |
setCompiler(com.samskivert.mustache.Mustache.Compiler compiler)
Set the compiler.
|
buildView, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers
canHandle, createView, getAttributesMap, getCacheKey, getContentType, getExposeContextBeansAsAttributes, getExposedContextBeanNames, getExposePathVariables, getOrder, getPrefix, getRedirectHosts, getRequestContextAttribute, getSuffix, getViewClass, getViewNames, initApplicationContext, isRedirectContextRelative, isRedirectHttp10Compatible, setAttributes, setAttributesMap, setContentType, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposePathVariables, setOrder, setPrefix, setRedirectContextRelative, setRedirectHosts, setRedirectHttp10Compatible, setRequestContextAttribute, setSuffix, setViewClass, setViewNames
clearCache, getCacheLimit, isCache, isCacheUnresolved, removeFromCache, resolveViewName, setCache, setCacheLimit, setCacheUnresolved
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
protected Class<?> requiredViewClass()
requiredViewClass
in class AbstractTemplateViewResolver
public void setCompiler(com.samskivert.mustache.Mustache.Compiler compiler)
compiler
- the compilerpublic void setCharset(String charset)
charset
- the charsetCopyright © 2017 Pivotal Software, Inc.. All rights reserved.