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) |
protected Class<?> |
requiredViewClass() |
void |
setCharset(String charset)
Set the charset.
|
void |
setCompiler(com.samskivert.mustache.Mustache.Compiler compiler)
Set the compiler.
|
buildView, canHandle, createView, getAttributesMap, getCacheKey, getContentType, getExposeContextBeansAsAttributes, getExposedContextBeanNames, getExposePathVariables, getOrder, getPrefix, getRequestContextAttribute, getSuffix, getViewClass, getViewNames, initApplicationContext, isRedirectContextRelative, isRedirectHttp10Compatible, 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
protected Class<?> requiredViewClass()
requiredViewClass
in class UrlBasedViewResolver
public void setCompiler(com.samskivert.mustache.Mustache.Compiler compiler)
compiler
- the compilerpublic void setCharset(String charset)
charset
- the charsetCopyright © 2016 Pivotal Software, Inc.. All rights reserved.