クラス FreeMarkerProperties
java.lang.ObjectSE
org.springframework.boot.freemarker.autoconfigure.FreeMarkerProperties
FreeMarker を構成するための
@ConfigurationProperties。- 導入:
- 4.0.0
- 作成者:
- Dave Syer, Andy Wilkinson
フィールドのサマリー
フィールドコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明voidapplyToMvcViewResolver(ObjectSE viewResolver) 指定されたプロパティをAbstractTemplateViewResolverに適用します。@Nullable StringSE@Nullable StringSEStringSE[]StringSE @Nullable[]booleanbooleanbooleanisCache()booleanbooleanbooleanbooleanbooleanbooleanvoidsetAllowRequestOverride(boolean allowRequestOverride) voidsetAllowSessionOverride(boolean allowSessionOverride) voidsetCache(boolean cache) voidsetCharset(CharsetSE charset) voidsetCheckTemplateLocation(boolean checkTemplateLocation) voidsetContentType(MimeType contentType) voidsetEnabled(boolean enabled) voidsetExposeRequestAttributes(boolean exposeRequestAttributes) voidsetExposeSessionAttributes(boolean exposeSessionAttributes) voidsetExposeSpringMacroHelpers(boolean exposeSpringMacroHelpers) voidsetPreferFileSystemAccess(boolean preferFileSystemAccess) voidvoidsetRequestContextAttribute(@Nullable StringSE requestContextAttribute) voidsetSettings(MapSE<StringSE, StringSE> settings) voidvoidsetTemplateLoaderPath(StringSE... templateLoaderPaths) voidsetViewNames(StringSE @Nullable[] viewNames)
フィールドの詳細
DEFAULT_TEMPLATE_LOADER_PATH
- 関連事項:
DEFAULT_PREFIX
- 関連事項:
DEFAULT_SUFFIX
- 関連事項:
コンストラクターの詳細
FreeMarkerProperties
public FreeMarkerProperties()
メソッドの詳細
setEnabled
public void setEnabled(boolean enabled) isEnabled
public boolean isEnabled()setCheckTemplateLocation
public void setCheckTemplateLocation(boolean checkTemplateLocation) isCheckTemplateLocation
public boolean isCheckTemplateLocation()getViewNames
setViewNames
isCache
public boolean isCache()setCache
public void setCache(boolean cache) getContentType
setContentType
getCharset
getCharsetName
setCharset
getSettings
setSettings
getTemplateLoaderPath
setTemplateLoaderPath
isPreferFileSystemAccess
public boolean isPreferFileSystemAccess()setPreferFileSystemAccess
public void setPreferFileSystemAccess(boolean preferFileSystemAccess) 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- プロパティを適用するリゾルバー。