public class TinyTemplateLayoutView
extends org.springframework.web.servlet.view.AbstractTemplateView
Constructor and Description |
---|
TinyTemplateLayoutView() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyContentType(javax.servlet.http.HttpServletResponse response) |
boolean |
checkResource(Locale locale) |
TemplateEngine |
getTemplateEngine() |
protected void |
renderMergedTemplateModel(Map<String,Object> model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setNoLayoutExtFileName(String noLayoutExtFileName) |
void |
setTemplateEngine(TemplateEngine templateEngine) |
void |
setViewExtFileName(String viewExtFileName) |
renderMergedOutputModel, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers
afterPropertiesSet, getUrl, isUrlRequired, setUrl, toString
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getRequestToExpose, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposePathVariables, setRequestContextAttribute, setResponseContentType, writeToResponse
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public TemplateEngine getTemplateEngine()
public void setTemplateEngine(TemplateEngine templateEngine)
public void setViewExtFileName(String viewExtFileName)
public void setNoLayoutExtFileName(String noLayoutExtFileName)
protected void renderMergedTemplateModel(Map<String,Object> model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
renderMergedTemplateModel
in class org.springframework.web.servlet.view.AbstractTemplateView
Exception
public boolean checkResource(Locale locale) throws Exception
checkResource
in class org.springframework.web.servlet.view.AbstractUrlBasedView
Exception
protected void applyContentType(javax.servlet.http.HttpServletResponse response)
applyContentType
in class org.springframework.web.servlet.view.AbstractTemplateView
Copyright © 2006–2018 TinyGroup. All rights reserved.