final case class Expires(expirationDate: HttpDate) extends Product with Serializable

A Response header that _gives the date/time after which the response is considered stale_.

The HTTP RFCs indicate that Expires should be in the range of now to 1 year in the future. However, it is a usual practice to set it to the past of far in the future Thus any instant is in practice allowed

RFC-7234 Section 5.3

expirationDate

the date of expiration. The RFC has a warning, that using large values can cause problems due to integer or clock overflows.

Source
Expires.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Expires
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Expires(expirationDate: HttpDate)

    expirationDate

    the date of expiration. The RFC has a warning, that using large values can cause problems due to integer or clock overflows.

Value Members

  1. val expirationDate: HttpDate