ResponseServingCalculator

com.typesafe.play.cachecontrol.ResponseServingCalculator
See theResponseServingCalculator companion object

This class determines whether a cache can serve a stored response from request. It is "Constructing Responses from Caches" section in RFC 7234.

If there are multiple matches, the most recent response must be sent for evaluation, as determined by the Date header field.

https://tools.ietf.org/html/rfc7234#section-4

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def serveResponse(request: CacheRequest, response: StoredResponse, currentAge: Seconds): ResponseServeAction