case object OnlyIfCached extends CacheDirective with Product with Serializable
The "only-if-cached" request directive indicates that the client only wishes to obtain a stored response. If it receives this directive, a cache SHOULD either respond using a stored response that is consistent with the other constraints of the request, or respond with a 504 (Gateway Timeout) status code. If a group of caches is being operated as a unified system with good internal connectivity, a member cache MAY forward such a request within that group of caches.
https://tools.ietf.org/html/rfc7234#section-5.2.1.7
- Source
- CacheDirectives.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OnlyIfCached
- Serializable
- Product
- Equals
- CacheDirective
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def toString(): String
- Definition Classes
- OnlyIfCached → AnyRef → Any