object CacheControl

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CacheControl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class MaxAge(freshForSeconds: Int) extends CacheControl with Product with Serializable

    The max-age=N response directive indicates that the response remains fresh until N seconds after the response is generated.

    The max-age=N response directive indicates that the response remains fresh until N seconds after the response is generated.

    The max-age=N request directive indicates that the client allows a stored response that is generated on the origin server within N seconds

  2. final case class MaxStale(staleWithinSeconds: Int) extends CacheControl with Product with Serializable

    The max-stale=N request directive indicates that the client allows a stored response that is stale within N seconds.

  3. final case class MinFresh(freshAtLeastSeconds: Int) extends CacheControl with Product with Serializable

    The min-fresh=N request directive indicates that the client allows a stored response that is fresh for at least N seconds.

  4. final case class MultipleCacheControlValues(values: Chunk[CacheControl]) extends CacheControl with Product with Serializable

    Maintains a chunk of CacheControl values.

  5. final case class SMaxAge(freshForSeconds: Int) extends CacheControl with Product with Serializable

    The s-maxage response directive also indicates how long the response is fresh for (similar to max-age) — but it is specific to shared caches, and they will ignore max-age when it is present.

  6. final case class StaleIfError(seconds: Int) extends CacheControl with Product with Serializable

    The stale-if-error response directive indicates that the cache can reuse a stale response when an origin server responds with an error (500, 502, 503, or 504).

  7. final case class StaleWhileRevalidate(seconds: Int) extends CacheControl with Product with Serializable

    The stale-while-revalidate response directive indicates that the cache could reuse a stale response while it revalidates it to a cache.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def fromCacheControl(value: CacheControl): String
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toCacheControl(value: String): CacheControl
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. case object Immutable extends CacheControl with Product with Serializable

    The immutable response directive indicates that the response will not be updated while it's fresh

  22. case object InvalidCacheControl extends CacheControl with Product with Serializable

    Signals an invalid value present in the header value.

  23. case object MustRevalidate extends CacheControl with Product with Serializable

    The must-revalidate response directive indicates that the response can be stored in caches and can be reused while fresh.

    The must-revalidate response directive indicates that the response can be stored in caches and can be reused while fresh. If the response becomes stale, it must be validated with the origin server before reuse.

  24. case object MustUnderstand extends CacheControl with Product with Serializable

    The must-understand response directive indicates that a cache should store the response only if it understands the requirements for caching based on status code.

  25. case object NoCache extends CacheControl with Product with Serializable

    The no-cache response directive indicates that the response can be stored in caches, but the response must be validated with the origin server before each reuse.

    The no-cache response directive indicates that the response can be stored in caches, but the response must be validated with the origin server before each reuse.

    The no-cache request directive asks caches to validate the response with the origin server before reuse.

  26. case object NoStore extends CacheControl with Product with Serializable

    The no-store response directive indicates that any caches of any kind (private or shared) should not store this response.

    The no-store response directive indicates that any caches of any kind (private or shared) should not store this response.

    The no-store request directive allows a client to request that caches refrain from storing the request and corresponding response — even if the origin server's response could be stored.

  27. case object NoTransform extends CacheControl with Product with Serializable

    The no-transform indicates that any intermediary (regardless of whether it implements a cache) shouldn't transform the response/request contents.

  28. case object OnlyIfCached extends CacheControl with Product with Serializable

    The client indicates that cache should obtain an already-cached response.

    The client indicates that cache should obtain an already-cached response. If a cache has stored a response, it's reused.

  29. case object Private extends CacheControl with Product with Serializable

    The private response directive indicates that the response can be stored only in a private cache

  30. case object ProxyRevalidate extends CacheControl with Product with Serializable

    The proxy-revalidate response directive is the equivalent of must-revalidate, but specifically for shared caches only.

  31. case object Public extends CacheControl with Product with Serializable

    The public response directive indicates that the response can be stored in a shared cache.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped