Expires

zio.http.model.headers.values.Expires$
See theExpires companion trait
object Expires

The Expires HTTP header contains the date/time after which the response is considered expired.

Invalid expiration dates with value 0 represent a date in the past and mean that the resource is already expired.

Expires:

Date: , :: GMT

Example:

Expires: Wed, 21 Oct 2015 07:28:00 GMT

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Expires.type

Members list

Concise view

Type members

Classlikes

case object InvalidExpires extends Expires

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Expires
class Object
trait Matchable
class Any
Self type
final case class ValidExpires(date: ZonedDateTime) extends Expires

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Expires
class Object
trait Matchable
class Any

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromExpires(expires: Expires): String