public class MustacheView extends AbstractTemplateView
View
。SPRING_MACRO_REQUEST_CONTEXT_ATTRIBUTE
DEFAULT_CONTENT_TYPE
logger
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE
コンストラクターと説明 |
---|
MustacheView() |
修飾子と型 | メソッドと説明 |
---|---|
boolean | checkResource(LocaleSE locale) |
protected void | renderMergedTemplateModel(MapSE<StringSE, ObjectSE> model, HttpServletRequestEE request, HttpServletResponseEE response) |
void | setCharset(StringSE charset) Mustache テンプレートファイルの読み取りに使用する文字セットを設定します。 |
void | setCompiler(com.samskivert.mustache.Mustache.Compiler compiler) このビューで使用する Mustache コンパイラーを設定します。 |
applyContentType, renderMergedOutputModel, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers
afterPropertiesSet, getUrl, isUrlRequired, setUrl, toString
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, formatViewName, 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
getApplicationContext, getMessageSourceAccessor, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContext
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public void setCompiler(com.samskivert.mustache.Mustache.Compiler compiler)
通常、このプロパティは直接設定されません。代わりに、Mustache テンプレートのコンパイルに使用される Spring アプリケーションコンテキストで単一の Mustache.Compiler
が期待されます。
compiler
- Mustache コンパイラー public void setCharset(StringSE charset)
charset
- テンプレートファイルの読み取りに使用する文字セット public boolean checkResource(LocaleSE locale) throws ExceptionSE
AbstractUrlBasedView
の checkResource
ExceptionSE
protected void renderMergedTemplateModel(MapSE<StringSE,ObjectSE> model, HttpServletRequestEE request, HttpServletResponseEE response) throws ExceptionSE
AbstractTemplateView
の renderMergedTemplateModel
ExceptionSE