This trait defines methods that are used through the library where core business logic belongs to the cache that is not in scope for RFC 7234 and cannot be predefined.
A trait that marks the cache directives generated from parsing a cache-control header.
An incoming request which may be served from cache.
Calculates the current age of a response.
Calculates freshness lifetime for a request.
A response from an origin server.
Decides whether this response from an origin server should be stored in cached or not.
This class looks through the available responses, and provides an action -- either selecting a response, or rejecting with either a timeout or forward to origin.
This class determines whether a cache can serve a stored response from request.
This class produces secondary keys for a response from an origin server that contains a Vary header.
A response that comes from cache.
the effective request URI. This is part of the primary cache lookup key.
the numeric cached response status code.
the headers on the stored response.
the original request method that was used to generate the stored response.
the request headers that were nominated by the response's Vary header.
Tells the cache what headers should be stripped before they are cached.
A parsed warning.
The parser for cache directives specified in the "Cache-Control" HTTP header.
Defines methods for parsing and formatting HTTP dates.
Case classes used by ResponseCachingPolicy.
Predefined actions to take for a selected response.
The possible actions a client can execute when determining to serve a stored response.
Parses the Vary header in to a list of field names.