public class MustacheViewResolver
extends org.springframework.web.servlet.view.AbstractTemplateViewResolver
ViewResolver for Mustache.FORWARD_URL_PREFIX, REDIRECT_URL_PREFIX| Constructor and Description |
|---|
MustacheViewResolver()
Create a
MustacheViewResolver backed by a default instance of a
Mustache.Compiler. |
MustacheViewResolver(com.samskivert.mustache.Mustache.Compiler compiler)
Create a
MustacheViewResolver backed by a custom instance of a
Mustache.Compiler. |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.web.servlet.view.AbstractUrlBasedView |
buildView(String viewName) |
protected Class<?> |
requiredViewClass() |
void |
setCharset(String charset)
Set the charset.
|
setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpersapplyLifecycleMethods, canHandle, createView, getAttributesMap, getCacheKey, getContentType, getExposeContextBeansAsAttributes, getExposedContextBeanNames, getExposePathVariables, getOrder, getPrefix, getRedirectHosts, getRequestContextAttribute, getSuffix, getViewClass, getViewNames, initApplicationContext, isRedirectContextRelative, isRedirectHttp10Compatible, loadView, setAttributes, setAttributesMap, setContentType, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposePathVariables, setOrder, setPrefix, setRedirectContextRelative, setRedirectHosts, setRedirectHttp10Compatible, setRequestContextAttribute, setSuffix, setViewClass, setViewNamesclearCache, getCacheLimit, isCache, isCacheUnresolved, removeFromCache, resolveViewName, setCache, setCacheLimit, setCacheUnresolvedgetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic MustacheViewResolver()
MustacheViewResolver backed by a default instance of a
Mustache.Compiler.public MustacheViewResolver(com.samskivert.mustache.Mustache.Compiler compiler)
MustacheViewResolver backed by a custom instance of a
Mustache.Compiler.compiler - the Mustache compiler used to compile templatesCopyright © 2019 Pivotal Software, Inc.. All rights reserved.