Class TomcatServerProperties.Resource

java.lang.Object
org.springframework.boot.tomcat.autoconfigure.TomcatServerProperties.Resource
Enclosing class:
TomcatServerProperties

public static class TomcatServerProperties.Resource extends Object
Tomcat static resource properties.
Since:
4.0.0
Author:
Dave Syer, Stephane Nicoll, Andy Wilkinson, Ivan Sopov, Marcos Barbero, EddĂș MelĂ©ndez, Quinten De Swaef, Venil Noronha, AurĂ©lien Leboulanger, Brian Clozel, Olivier Lamy, Chentao Qu, Artsiom Yudovin, Andrew McGhie, Rafiullah Hamedy, Dirk Deyne, HaiTao Zhang, Victor Mandujano, Chris Bono, Parviz Rozikov, Florian Storz, Michael Weidmann, Lasse Wulff
  • Constructor Details

    • Resource

      public Resource()
  • Method Details

    • isAllowCaching

      public boolean isAllowCaching()
    • setAllowCaching

      public void setAllowCaching(boolean allowCaching)
    • getCacheMaxSize

      public DataSize getCacheMaxSize()
    • setCacheMaxSize

      public void setCacheMaxSize(DataSize cacheMaxSize)
    • getCacheTtl

      public Duration getCacheTtl()
    • setCacheTtl

      public void setCacheTtl(Duration cacheTtl)