Class/Object

org.http4s.headers

Expires

Related Docs: object Expires | package headers

Permalink

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

Constructs an Expires header.

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

expirationDate

the date of expiration

Source
Expires.scala
Linear Supertypes
Serializable, Serializable, Parsed, Header, Product, Equals, Renderable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Expires
  2. Serializable
  3. Serializable
  4. Parsed
  5. Header
  6. Product
  7. Equals
  8. Renderable
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Expires(expirationDate: Instant)

    Permalink

    expirationDate

    the date of expiration

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Expires to any2stringadd[Expires] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Expires, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Expires to ArrowAssoc[Expires] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (Expires) ⇒ Boolean, msg: ⇒ Any): Expires

    Permalink
    Implicit information
    This member is added by an implicit conversion from Expires to Ensuring[Expires] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Expires) ⇒ Boolean): Expires

    Permalink
    Implicit information
    This member is added by an implicit conversion from Expires to Ensuring[Expires] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): Expires

    Permalink
    Implicit information
    This member is added by an implicit conversion from Expires to Ensuring[Expires] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Expires

    Permalink
    Implicit information
    This member is added by an implicit conversion from Expires to Ensuring[Expires] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Header → Equals → AnyRef → Any
  14. val expirationDate: Instant

    Permalink

    the date of expiration

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Expires to StringFormat[Expires] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Header → AnyRef → Any
  19. def is(key: HeaderKey): Boolean

    Permalink
    Definition Classes
    Header
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isNot(key: HeaderKey): Boolean

    Permalink
    Definition Classes
    Header
  22. val key: Expires.type

    Permalink
    Definition Classes
    ExpiresParsed
  23. def name: CaseInsensitiveString

    Permalink
    Definition Classes
    ParsedHeader
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def parsed: Expires.this.type

    Permalink
    Definition Classes
    ParsedHeader
  28. final def render(writer: Writer): writer.type

    Permalink

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    HeaderRenderable
  29. def renderString: String

    Permalink

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  30. def renderValue(writer: Writer): writer.type

    Permalink
    Definition Classes
    ExpiresHeader
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toRaw: Raw

    Permalink
    Definition Classes
    Header
  33. def toString(): String

    Permalink
    Definition Classes
    HeaderRenderable → AnyRef → Any
  34. val value: String

    Permalink
    Definition Classes
    ExpiresHeader
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (Expires, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Expires to ArrowAssoc[Expires] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Parsed

Inherited from Header

Inherited from Product

Inherited from Equals

Inherited from Renderable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Expires to any2stringadd[Expires]

Inherited by implicit conversion StringFormat from Expires to StringFormat[Expires]

Inherited by implicit conversion Ensuring from Expires to Ensuring[Expires]

Inherited by implicit conversion ArrowAssoc from Expires to ArrowAssoc[Expires]

Ungrouped