Packages

case class Validate(reason: String, staleIfError: Boolean = false) extends ResponseServeAction with Product with Serializable

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.

Source
ResponseServingCalculator.scala
Linear Supertypes
Serializable, Product, Equals, ResponseServeAction, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Validate
  2. Serializable
  3. Product
  4. Equals
  5. ResponseServeAction
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Validate(reason: String, staleIfError: Boolean = false)

Value Members

  1. def productElementNames: Iterator[String]
    Definition Classes
    Product
  2. val reason: String
  3. val staleIfError: Boolean