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
Serializable, Product, Equals, CacheResponse, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StoredResponse
  2. Serializable
  3. Product
  4. Equals
  5. CacheResponse
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. lazy val directives: Seq[CacheDirective]
    Definition Classes
    StoredResponseCacheResponse
  2. val headers: Map[HeaderName, Seq[String]]
    Definition Classes
    StoredResponseCacheResponse
  3. val nominatedHeaders: Map[HeaderName, Seq[String]]
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. val requestMethod: String
  6. val status: Int
    Definition Classes
    StoredResponseCacheResponse
  7. val uri: URI
    Definition Classes
    StoredResponseCacheResponse