object CacheControl extends HeaderType

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

Type Members

  1. type HeaderValue = CacheControl
    Definition Classes
    CacheControlHeaderType
  2. 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

  3. 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.

  4. 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.

  5. final case class Multiple(values: NonEmptyChunk[CacheControl]) extends CacheControl with Product with Serializable

    Maintains a chunk of CacheControl values.

  6. 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.

  7. 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).

  8. 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( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def name: String
    Definition Classes
    CacheControlHeaderType
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. def parse(value: String): Either[String, CacheControl]
    Definition Classes
    CacheControlHeaderType
  16. def render(value: CacheControl): String
    Definition Classes
    CacheControlHeaderType
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. object Immutable extends CacheControl with Product with Serializable

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

  23. 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. 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. 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. 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. 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. 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. 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. 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. 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 HeaderType

Inherited from AnyRef

Inherited from Any

Ungrouped