Class TomcatServerProperties.Resource
java.lang.Object
org.springframework.boot.tomcat.autoconfigure.TomcatServerProperties.Resource
- Enclosing class:
TomcatServerProperties
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAllowCaching(boolean allowCaching) voidsetCacheMaxSize(DataSize cacheMaxSize) voidsetCacheTtl(Duration cacheTtl)
-
Constructor Details
-
Resource
public Resource()
-
-
Method Details
-
isAllowCaching
public boolean isAllowCaching() -
setAllowCaching
public void setAllowCaching(boolean allowCaching) -
getCacheMaxSize
-
setCacheMaxSize
-
getCacheTtl
-
setCacheTtl
-