o

org.playframework.cachecontrol

ResponseCachingActions

object ResponseCachingActions

Case classes used by ResponseCachingPolicy.

Source
ResponseCachingCalculator.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResponseCachingActions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class DoCacheResponse(reason: String) extends ResponseCachingAction with Product with Serializable

    The client should store the origin response in the cache.

    The client should store the origin response in the cache.

    Depending on the qualified "no-cache" response directive and/or the qualified "private" response directive (if the cache is shared), then headers may be stripped from the response before it is cached.

    See also

    https://tools.ietf.org/html/rfc7234#section-5.2.2.6

    https://tools.ietf.org/html/rfc7234#section-5.2.2.2

  2. case class DoNotCacheResponse(reason: String) extends ResponseCachingAction with Product with Serializable

    The client should not store the origin response in the cache.