StoredResponse

org.playframework.cachecontrol.StoredResponse
case class StoredResponse(uri: URI, status: Int, headers: Map[HeaderName, Seq[String]], requestMethod: String, nominatedHeaders: Map[HeaderName, Seq[String]]) extends CacheResponse

A response that comes from cache.

Value parameters

headers

the headers on the stored response.

nominatedHeaders

the request headers that were nominated by the response's Vary header.

requestMethod

the original request method that was used to generate the stored response.

status

the numeric cached response status code.

uri

the effective request URI. This is part of the primary cache lookup key.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val directives: Seq[CacheDirective]