Class ServerProperties.Tomcat.Resource
- java.lang.Object
- org.springframework.boot.autoconfigure.web.ServerProperties.Tomcat.Resource
- Enclosing class:
- ServerProperties.Tomcat
public static class ServerProperties.Tomcat.Resource extends Object
Tomcat static resource properties.
Constructor Summary
Constructors Constructor Description Resource()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
getCacheTtl()
boolean
isAllowCaching()
void
setAllowCaching(boolean allowCaching)
void
setCacheTtl(Duration cacheTtl)
Constructor Detail
Resource
public Resource()
Method Detail
isAllowCaching
public boolean isAllowCaching()
setAllowCaching
public void setAllowCaching(boolean allowCaching)
getCacheTtl
public Duration getCacheTtl()
setCacheTtl
public void setCacheTtl(Duration cacheTtl)