public class MustacheView
extends org.springframework.web.servlet.view.AbstractTemplateViewView。| コンストラクターと説明 |
|---|
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, setExposeSpringMacroHelpersafterPropertiesSet, getUrl, isUrlRequired, setUrl, toStringaddStaticAttribute, 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, writeToResponsegetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextgetApplicationContext, getMessageSourceAccessor, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContextcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic 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
org.springframework.web.servlet.view.AbstractUrlBasedView の checkResource ExceptionSEprotected void renderMergedTemplateModel(MapSE<StringSE,ObjectSE> model, HttpServletRequestEE request, HttpServletResponseEE response) throws ExceptionSE
org.springframework.web.servlet.view.AbstractTemplateView の renderMergedTemplateModel ExceptionSECopyright © 2019 Pivotal Software, Inc.. All rights reserved.