Object

com.typesafe.play.cachecontrol

CacheDirectives

Related Doc: package cachecontrol

Permalink

object CacheDirectives

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

Type Members

  1. case class CacheDirectiveExtension(name: String, value: Option[String]) extends CacheDirective with Product with Serializable

    Permalink
  2. case class MaxAge(delta: Seconds) extends CacheDirective with Product with Serializable

    Permalink
  3. case class MaxStale(delta: Option[Seconds]) extends CacheDirective with Product with Serializable

    Permalink

    The "max-stale" request directive indicates that the client is willing to accept a response that has exceeded its freshness lifetime.

    The "max-stale" request directive indicates that the client is willing to accept a response that has exceeded its freshness lifetime. If max-stale is assigned a value, then the client is willing to accept a response that has exceeded its freshness lifetime by no more than the specified number of seconds. If no value is assigned to max-stale, then the client is willing to accept a stale response of any age.

    This directive uses the token form of the argument syntax: e.g., 'max-stale=10' not 'max-stale="10"'. A sender SHOULD NOT generate the quoted-string form.

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

  4. case class MinFresh(delta: Seconds) extends CacheDirective with Product with Serializable

    Permalink
  5. case class NoCache(headerNames: Option[Seq[String]]) extends CacheDirective with Product with Serializable

    Permalink
  6. case class Private(headerNames: Option[Seq[String]]) extends CacheDirective with Product with Serializable

    Permalink
  7. case class SMaxAge(delta: Seconds) extends CacheDirective with Product with Serializable

    Permalink
  8. case class StaleIfError(delta: Seconds) extends CacheDirective with Product with Serializable

    Permalink
  9. case class StaleWhileRevalidate(delta: Seconds) extends CacheDirective with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object MustRevalidate extends CacheDirective with Product with Serializable

    Permalink
  5. object NoStore extends CacheDirective with Product with Serializable

    Permalink
  6. object NoTransform extends CacheDirective with Product with Serializable

    Permalink

    The "no-transform" request directive indicates that an intermediary (whether or not it implements a cache) MUST NOT transform the payload, as defined in Section 5.7.2 of [RFC7230].

    The "no-transform" request directive indicates that an intermediary (whether or not it implements a cache) MUST NOT transform the payload, as defined in Section 5.7.2 of [RFC7230].

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

    The "no-transform" response directive indicates that an intermediary (regardless of whether it implements a cache) MUST NOT transform the payload, as defined in Section 5.7.2 of [RFC7230].

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

  7. object OnlyIfCached extends CacheDirective with Product with Serializable

    Permalink

    The "only-if-cached" request directive indicates that the client only wishes to obtain a stored response.

    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

  8. object ProxyRevalidate extends CacheDirective with Product with Serializable

    Permalink
  9. object Public extends CacheDirective with Product with Serializable

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def extensions(directives: Seq[CacheDirective]): Seq[CacheDirectiveExtension]

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def maxAge(directives: Seq[CacheDirective]): Option[MaxAge]

    Permalink

    Finds the instance of MaxAge.

  20. def maxStale(directives: Seq[CacheDirective]): Option[MaxStale]

    Permalink
  21. def minFresh(directives: Seq[CacheDirective]): Option[MinFresh]

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def noCache(directives: Seq[CacheDirective]): Option[NoCache]

    Permalink
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def private(directives: Seq[CacheDirective]): Option[Private]

    Permalink
  27. def sMaxAge(directives: Seq[CacheDirective]): Option[SMaxAge]

    Permalink
  28. def staleIfError(directives: Seq[CacheDirective]): Option[StaleIfError]

    Permalink
  29. def staleWhileRevalidate(directives: Seq[CacheDirective]): Option[StaleWhileRevalidate]

    Permalink
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped