Packages

final case class Expires(expirationDate: HttpDate) extends Parsed with 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. Parsed
  5. Header
  6. Product
  7. Equals
  8. Renderable
  9. AnyRef
  10. 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. 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()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def equals(that: Any): Boolean
    Definition Classes
    Header → Equals → AnyRef → Any
  8. val expirationDate: HttpDate
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def hashCode(): Int
    Definition Classes
    Header → AnyRef → Any
  12. def is(key: HeaderKey): Boolean
    Definition Classes
    Header
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isNameValid: Boolean

    True if name is a valid field-name per RFC7230.

    True if name is a valid field-name per RFC7230. Where it is not, the header may be dropped by the backend.

    Definition Classes
    ExpiresHeader
  15. def isNot(key: HeaderKey): Boolean
    Definition Classes
    Header
  16. val key: Expires.type
    Definition Classes
    ExpiresParsed
  17. def name: CaseInsensitiveString
    Definition Classes
    ParsedHeader
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def parsed: Expires.this.type
    Definition Classes
    ParsedHeader
  22. final def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    HeaderRenderable
  23. def renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  24. def renderValue(writer: Writer): writer.type
    Definition Classes
    ExpiresHeader
  25. def renderedLength: Long

    Length of the rendered header, including name and final '\r\n'

    Length of the rendered header, including name and final '\r\n'

    Definition Classes
    Header
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toRaw: Raw
    Definition Classes
    Header
  28. def toString(): String
    Definition Classes
    HeaderRenderable → AnyRef → Any
  29. val value: String
    Definition Classes
    ExpiresHeader
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

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

Ungrouped