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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- lazy val directives: Seq[CacheDirective]
- Definition Classes
- StoredResponse → CacheResponse
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val headers: Map[HeaderName, Seq[String]]
- Definition Classes
- StoredResponse → CacheResponse
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nominatedHeaders: Map[HeaderName, Seq[String]]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestMethod: String
- val status: Int
- Definition Classes
- StoredResponse → CacheResponse
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val uri: URI
- Definition Classes
- StoredResponse → CacheResponse
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)