class ResponseServingCalculator extends AnyRef

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

Source
ResponseServingCalculator.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResponseServingCalculator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ResponseServingCalculator(cache: Cache)

Value Members

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