org.springframework.boot.autoconfigure.thymeleaf

Class ThymeleafProperties

  • java.lang.Object
    • org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties


  • @ConfigurationProperties(prefix="spring.thymeleaf")
    public class ThymeleafProperties
    extends Object
    Properties for Thymeleaf.
    Since:
    1.2.0
    Author:
    Stephane Nicoll, Brian Clozel, Daniel Fernández, Kazuki Shimizu
    • Constructor Detail

      • ThymeleafProperties

        public ThymeleafProperties()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled(boolean enabled)
      • isCheckTemplate

        public boolean isCheckTemplate()
      • setCheckTemplate

        public void setCheckTemplate(boolean checkTemplate)
      • isCheckTemplateLocation

        public boolean isCheckTemplateLocation()
      • setCheckTemplateLocation

        public void setCheckTemplateLocation(boolean checkTemplateLocation)
      • getPrefix

        public String getPrefix()
      • setPrefix

        public void setPrefix(String prefix)
      • getSuffix

        public String getSuffix()
      • setSuffix

        public void setSuffix(String suffix)
      • getMode

        public String getMode()
      • setMode

        public void setMode(String mode)
      • getEncoding

        public Charset getEncoding()
      • setEncoding

        public void setEncoding(Charset encoding)
      • isCache

        public boolean isCache()
      • setCache

        public void setCache(boolean cache)
      • getTemplateResolverOrder

        public Integer getTemplateResolverOrder()
      • setTemplateResolverOrder

        public void setTemplateResolverOrder(Integer templateResolverOrder)
      • getExcludedViewNames

        public String[] getExcludedViewNames()
      • setExcludedViewNames

        public void setExcludedViewNames(String[] excludedViewNames)
      • getViewNames

        public String[] getViewNames()
      • setViewNames

        public void setViewNames(String[] viewNames)
      • isEnableSpringElCompiler

        public boolean isEnableSpringElCompiler()
      • setEnableSpringElCompiler

        public void setEnableSpringElCompiler(boolean enableSpringElCompiler)