public class TinyTemplateLayoutViewResolver
extends org.springframework.web.servlet.view.AbstractTemplateViewResolver
FORWARD_URL_PREFIX, REDIRECT_URL_PREFIX
Constructor and Description |
---|
TinyTemplateLayoutViewResolver() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.web.servlet.view.AbstractUrlBasedView |
buildView(String viewName) |
protected Object |
getCacheKey(String viewName,
Locale locale) |
String |
getNoLayoutExtFileName() |
String |
getViewExtFileName() |
protected Class |
requiredViewClass() |
void |
setNoLayoutExtFileName(String noLayoutExtFileName) |
void |
setTemplateEngine(TemplateEngine templateEngine) |
void |
setViewExtFileName(String viewExtFileName) |
setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers
canHandle, createView, getAttributesMap, 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, setViewNames
clearCache, getCacheLimit, isCache, isCacheUnresolved, removeFromCache, resolveViewName, setCache, setCacheLimit, setCacheUnresolved
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public void setTemplateEngine(TemplateEngine templateEngine)
public String getViewExtFileName()
public void setViewExtFileName(String viewExtFileName)
public String getNoLayoutExtFileName()
public void setNoLayoutExtFileName(String noLayoutExtFileName)
protected org.springframework.web.servlet.view.AbstractUrlBasedView buildView(String viewName) throws Exception
buildView
in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
Exception
protected Object getCacheKey(String viewName, Locale locale)
getCacheKey
in class org.springframework.web.servlet.view.UrlBasedViewResolver
protected Class requiredViewClass()
requiredViewClass
in class org.springframework.web.servlet.view.AbstractTemplateViewResolver
Copyright © 2006–2018 TinyGroup. All rights reserved.