Class TomcatServerProperties.Resource
java.lang.Object
org.springframework.boot.tomcat.autoconfigure.TomcatServerProperties.Resource
- Enclosing class:
TomcatServerProperties
Tomcat static resource properties.
- Since:
- 4.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.util.unit.DataSizebooleanvoidsetAllowCaching(boolean allowCaching) voidsetCacheMaxSize(org.springframework.util.unit.DataSize cacheMaxSize) voidsetCacheTtl(Duration cacheTtl)
-
Constructor Details
-
Resource
public Resource()
-
-
Method Details
-
isAllowCaching
public boolean isAllowCaching() -
setAllowCaching
public void setAllowCaching(boolean allowCaching) -
getCacheMaxSize
public org.springframework.util.unit.DataSize getCacheMaxSize() -
setCacheMaxSize
public void setCacheMaxSize(org.springframework.util.unit.DataSize cacheMaxSize) -
getCacheTtl
-
setCacheTtl
-