org.springframework.boot.autoconfigure.web

Class ResourceProperties.Chain

  • java.lang.Object
    • org.springframework.boot.autoconfigure.web.ResourceProperties.Chain
  • Enclosing class:
    ResourceProperties


    public static class ResourceProperties.Chain
    extends Object
    Configuration for the Spring Resource Handling chain.
    • Constructor Detail

      • Chain

        public Chain()
    • Method Detail

      • getEnabled

        public Boolean getEnabled()
        Return whether the resource chain is enabled. Return null if no specific settings are present.
        Returns:
        whether the resource chain is enabled or null if no specified settings are present.
      • setEnabled

        public void setEnabled(boolean enabled)
      • isCache

        public boolean isCache()
      • setCache

        public void setCache(boolean cache)
      • isHtmlApplicationCache

        public boolean isHtmlApplicationCache()
      • setHtmlApplicationCache

        public void setHtmlApplicationCache(boolean htmlApplicationCache)
      • isGzipped

        public boolean isGzipped()
      • setGzipped

        public void setGzipped(boolean gzipped)