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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Expires
- Serializable
- Serializable
- Parsed
- Header
- Product
- Equals
- Renderable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Expires(expirationDate: Instant)
- expirationDate
the date of expiration
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Expires, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (Expires) ⇒ Boolean, msg: ⇒ Any): Expires
- def ensuring(cond: (Expires) ⇒ Boolean): Expires
- def ensuring(cond: Boolean, msg: ⇒ Any): Expires
- def ensuring(cond: Boolean): Expires
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
equals(that: Any): Boolean
- Definition Classes
- Header → Equals → AnyRef → Any
- val expirationDate: Instant
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
hashCode(): Int
- Definition Classes
- Header → AnyRef → Any
-
def
is(key: HeaderKey): Boolean
- Definition Classes
- Header
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNot(key: HeaderKey): Boolean
- Definition Classes
- Header
- val key: Expires.type
- def name: CaseInsensitiveString
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def parsed: Expires.this.type
-
final
def
render(writer: Writer): writer.type
Base method for rendering this object efficiently
Base method for rendering this object efficiently
- Definition Classes
- Header → Renderable
-
def
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- Renderable
- def renderValue(writer: Writer): writer.type
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toRaw: Raw
- Definition Classes
- Header
-
def
toString(): String
- Definition Classes
- Header → Renderable → AnyRef → Any
- val value: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (Expires, B)