public class MustacheViewResolver extends UrlBasedViewResolver
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) |
void |
setCharset(String charset) |
void |
setCompiler(com.samskivert.mustache.Mustache.Compiler compiler) |
buildView, canHandle, createView, getAttributesMap, getCacheKey, getContentType, getExposeContextBeansAsAttributes, getExposedContextBeanNames, getExposePathVariables, getOrder, getPrefix, getRequestContextAttribute, getSuffix, getViewClass, getViewNames, initApplicationContext, isRedirectContextRelative, isRedirectHttp10Compatible, requiredViewClass, setAttributes, setAttributesMap, setContentType, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposePathVariables, setOrder, setPrefix, setRedirectContextRelative, 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
public void setCompiler(com.samskivert.mustache.Mustache.Compiler compiler)
compiler
- the compiler to setpublic void setCharset(String charset)
charset
- the charset to setCopyright © 2015 Pivotal Software, Inc.. All rights reserved.