public class MustacheViewResolver
extends org.springframework.web.servlet.view.AbstractTemplateViewResolver
ViewResolver
for Mustache.FORWARD_URL_PREFIX, REDIRECT_URL_PREFIX
Constructor and Description |
---|
MustacheViewResolver() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.web.servlet.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
protected Class<?> requiredViewClass()
requiredViewClass
in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
public void setCompiler(com.samskivert.mustache.Mustache.Compiler compiler)
compiler
- the compilerpublic void setCharset(String charset)
charset
- the charsetCopyright © 2018 Pivotal Software, Inc.. All rights reserved.