Class ServerProperties.Tomcat.Resource
java.lang.Object
org.springframework.boot.autoconfigure.web.ServerProperties.Tomcat.Resource
- Enclosing class:
- ServerProperties.Tomcat
Tomcat static resource properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setAllowCaching
(boolean allowCaching) void
setCacheTtl
(Duration cacheTtl)
-
Constructor Details
-
Resource
public Resource()
-
-
Method Details
-
isAllowCaching
public boolean isAllowCaching() -
setAllowCaching
public void setAllowCaching(boolean allowCaching) -
getCacheTtl
-
setCacheTtl
-