case class StoredResponse(uri: URI, status: Int, headers: Map[HeaderName, Seq[String]], requestMethod: String, nominatedHeaders: Map[HeaderName, Seq[String]]) extends CacheResponse with Product with Serializable
A response that comes from cache.
- uri
the effective request URI. This is part of the primary cache lookup key.
- status
the numeric cached response status code.
- headers
the headers on the stored response.
- requestMethod
the original request method that was used to generate the stored response.
- nominatedHeaders
the request headers that were nominated by the response's Vary header.
- Source
- CacheControl.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StoredResponse
- Serializable
- Product
- Equals
- CacheResponse
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new StoredResponse(uri: URI, status: Int, headers: Map[HeaderName, Seq[String]], requestMethod: String, nominatedHeaders: Map[HeaderName, Seq[String]])
- uri
the effective request URI. This is part of the primary cache lookup key.
- status
the numeric cached response status code.
- headers
the headers on the stored response.
- requestMethod
the original request method that was used to generate the stored response.
- nominatedHeaders
the request headers that were nominated by the response's Vary header.
Value Members
- lazy val directives: Seq[CacheDirective]
- Definition Classes
- StoredResponse → CacheResponse
- val headers: Map[HeaderName, Seq[String]]
- Definition Classes
- StoredResponse → CacheResponse
- val nominatedHeaders: Map[HeaderName, Seq[String]]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestMethod: String
- val status: Int
- Definition Classes
- StoredResponse → CacheResponse
- val uri: URI
- Definition Classes
- StoredResponse → CacheResponse