Packages

final case class Expires(expirationDate: HttpDate) 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
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: HttpDate)

    expirationDate

    the date of expiration

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    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)
    Implicit
    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
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def ensuring(cond: (Expires) ⇒ Boolean, msg: ⇒ Any): Expires
    Implicit
    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
    Implicit
    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
    Implicit
    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
    Implicit
    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
    Definition Classes
    AnyRef
  13. final def equals(that: Any): Boolean
    Definition Classes
    Header → Equals → AnyRef → Any
  14. val expirationDate: HttpDate
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String
    Implicit
    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[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def hashCode(): Int
    Definition Classes
    Header → AnyRef → Any
  19. def is(key: HeaderKey): Boolean
    Definition Classes
    Header
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isNot(key: HeaderKey): Boolean
    Definition Classes
    Header
  22. val key: Expires.type
    Definition Classes
    ExpiresParsed
  23. def name: CaseInsensitiveString
    Definition Classes
    ParsedHeader
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def parsed: Expires.this.type
    Definition Classes
    ParsedHeader
  28. final def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    HeaderRenderable
  29. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  30. def renderValue(writer: Writer): writer.type
    Definition Classes
    ExpiresHeader
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toRaw: Raw
    Definition Classes
    Header
  33. def toString(): String
    Definition Classes
    HeaderRenderable → AnyRef → Any
  34. val value: String
    Definition Classes
    ExpiresHeader
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  38. def [B](y: B): (Expires, B)
    Implicit
    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