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
- Serializable
- Product
- Equals
- CacheResponse
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
lazy val
directives: Seq[CacheDirective]
- Definition Classes
- StoredResponse → CacheResponse
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )