クラス FreeMarkerProperties

java.lang.ObjectSE
org.springframework.boot.freemarker.autoconfigure.FreeMarkerProperties

@ConfigurationProperties("spring.freemarker") public class FreeMarkerProperties extends ObjectSE
FreeMarker を構成するための @ConfigurationProperties
導入:
4.0.0
作成者:
Dave Syer, Andy Wilkinson
  • フィールドの詳細

  • コンストラクターの詳細

    • FreeMarkerProperties

      public FreeMarkerProperties()
  • メソッドの詳細

    • setEnabled

      public void setEnabled(boolean enabled)
    • isEnabled

      public boolean isEnabled()
    • setCheckTemplateLocation

      public void setCheckTemplateLocation(boolean checkTemplateLocation)
    • isCheckTemplateLocation

      public boolean isCheckTemplateLocation()
    • getViewNames

      public StringSE @Nullable [] getViewNames()
    • setViewNames

      public void setViewNames(StringSE @Nullable [] viewNames)
    • isCache

      public boolean isCache()
    • setCache

      public void setCache(boolean cache)
    • getContentType

      public MimeType getContentType()
    • setContentType

      public void setContentType(MimeType contentType)
    • getCharset

      public CharsetSE getCharset()
    • getCharsetName

      public @Nullable StringSE getCharsetName()
    • setCharset

      public void setCharset(CharsetSE charset)
    • getSettings

      public MapSE<StringSE,StringSE> getSettings()
    • setSettings

      public void setSettings(MapSE<StringSE,StringSE> settings)
    • getTemplateLoaderPath

      public StringSE[] getTemplateLoaderPath()
    • setTemplateLoaderPath

      public void setTemplateLoaderPath(StringSE... templateLoaderPaths)
    • isPreferFileSystemAccess

      public boolean isPreferFileSystemAccess()
    • setPreferFileSystemAccess

      public void setPreferFileSystemAccess(boolean preferFileSystemAccess)
    • getPrefix

      public StringSE getPrefix()
    • setPrefix

      public void setPrefix(StringSE prefix)
    • getSuffix

      public StringSE getSuffix()
    • setSuffix

      public void setSuffix(StringSE suffix)
    • getRequestContextAttribute

      public @Nullable StringSE getRequestContextAttribute()
    • setRequestContextAttribute

      public void setRequestContextAttribute(@Nullable StringSE requestContextAttribute)
    • 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

      public void applyToMvcViewResolver(ObjectSE viewResolver)
      指定されたプロパティを AbstractTemplateViewResolver に適用します。署名でオブジェクトを使用して、MVC へのランタイム依存を回避します。これは、テンプレートエンジンを非 Web アプリケーションで使用できることを意味します。
      パラメーター:
      viewResolver - プロパティを適用するリゾルバー。