Class LocalResponseCacheProperties
java.lang.Object
org.springframework.cloud.gateway.filter.factory.cache.LocalResponseCacheProperties
@ConfigurationProperties(prefix="spring.cloud.gateway.server.webflux.filter.local-response-cache")
public class LocalResponseCacheProperties
extends Object
- Author:
- Ignacio Lozano
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhen client sends "no-cache" directive in "Cache-Control" header, the response should be re-validated from upstream.static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable org.springframework.util.unit.DataSizegetSize()voidvoidsetSize(org.springframework.util.unit.DataSize size) voidsetTimeToLive(Duration timeToLive) toString()
-
Constructor Details
-
LocalResponseCacheProperties
public LocalResponseCacheProperties()
-
-
Method Details
-
getSize
public @Nullable org.springframework.util.unit.DataSize getSize() -
setSize
public void setSize(org.springframework.util.unit.DataSize size) -
getTimeToLive
-
setTimeToLive
-
getRequest
-
setRequest
-
toString
-