Validate
org.playframework.cachecontrol.ResponseServeActions.Validate
case class Validate(reason: String, staleIfError: Boolean) extends ResponseServeAction
A stored response was found, but is stale.
The cache must validate the request with the origin server.
If the origin server cannot be reached, then the cache MAY serve the stale response. In addition, if staleOnError is true, then the cache can serve the stale response when the origin server returns a 5xx response.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ResponseServeActionclass Objecttrait Matchableclass Any
Members list
In this article