クラス AbstractTemplateViewResolverProperties
java.lang.ObjectSE
org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
- 既知の直属サブクラス
FreeMarkerProperties,GroovyTemplateProperties
- 導入:
- 1.1.0
- 作成者:
- Andy Wilkinson
コンストラクターの概要
コンストラクター修飾子コンストラクター説明protectedAbstractTemplateViewResolverProperties(StringSE defaultPrefix, StringSE defaultSuffix) メソッドのサマリー
修飾子と型メソッド説明voidapplyToMvcViewResolver(ObjectSE viewResolver) 指定されたプロパティをAbstractTemplateViewResolverに適用します。booleanbooleanbooleanbooleanbooleanvoidsetAllowRequestOverride(boolean allowRequestOverride) voidsetAllowSessionOverride(boolean allowSessionOverride) voidsetExposeRequestAttributes(boolean exposeRequestAttributes) voidsetExposeSessionAttributes(boolean exposeSessionAttributes) voidsetExposeSpringMacroHelpers(boolean exposeSpringMacroHelpers) voidvoidsetRequestContextAttribute(StringSE requestContextAttribute) voidクラス org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties から継承されたメソッド
getCharset, getCharsetName, getContentType, getViewNames, isCache, isCheckTemplateLocation, isEnabled, setCache, setCharset, setCheckTemplateLocation, setContentType, setEnabled, setViewNames
コンストラクターの詳細
AbstractTemplateViewResolverProperties
メソッドの詳細
getPrefix
setPrefix
getSuffix
setSuffix
getRequestContextAttribute
setRequestContextAttribute
isExposeRequestAttributes
public boolean isExposeRequestAttributes()setExposeRequestAttributes
public void setExposeRequestAttributes(boolean exposeRequestAttributes) isExposeSessionAttributes
public boolean isExposeSessionAttributes()setExposeSessionAttributes
public void setExposeSessionAttributes(boolean exposeSessionAttributes) isAllowRequestOverride
public boolean isAllowRequestOverride()setAllowRequestOverride
public void setAllowRequestOverride(boolean allowRequestOverride) isAllowSessionOverride
public boolean isAllowSessionOverride()setAllowSessionOverride
public void setAllowSessionOverride(boolean allowSessionOverride) isExposeSpringMacroHelpers
public boolean isExposeSpringMacroHelpers()setExposeSpringMacroHelpers
public void setExposeSpringMacroHelpers(boolean exposeSpringMacroHelpers) applyToMvcViewResolver
指定されたプロパティをAbstractTemplateViewResolverに適用します。署名でオブジェクトを使用して、MVC へのランタイム依存を回避します。これは、テンプレートエンジンを非 Web アプリケーションで使用できることを意味します。- パラメーター:
viewResolver- プロパティを適用するリゾルバー。