class HttpDate extends Renderable with Ordered[HttpDate]
An HTTP-date value represents time as an instance of Coordinated Universal Time (UTC). It expresses time at a resolution of one second. By using it over java.time.Instant in the model, we assure that if two headers render equally, their values are equal.
- Source
- HttpDate.scala
- See also
https://tools.ietf.org/html/rfc7231#page65
- Alphabetic
- By Inheritance
- HttpDate
- Ordered
- Comparable
- Renderable
- AnyRef
- Any
- by orderingToOrdered
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
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): (HttpDate, B)
-
def
<(that: HttpDate): Boolean
- Definition Classes
- Ordered
-
def
<=(that: HttpDate): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: HttpDate): Boolean
- Definition Classes
- Ordered
-
def
>=(that: HttpDate): Boolean
- Definition Classes
- Ordered
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compare(that: HttpDate): Int
- Definition Classes
- HttpDate → Ordered
-
def
compareTo(that: HttpDate): Int
- Definition Classes
- Ordered → Comparable
- def ensuring(cond: (HttpDate) ⇒ Boolean, msg: ⇒ Any): HttpDate
- def ensuring(cond: (HttpDate) ⇒ Boolean): HttpDate
- def ensuring(cond: Boolean, msg: ⇒ Any): HttpDate
- def ensuring(cond: Boolean): HttpDate
- val epochSecond: Long
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(o: Any): Boolean
- Definition Classes
- HttpDate → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- HttpDate → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
render(writer: Writer): writer.type
Base method for rendering this object efficiently
Base method for rendering this object efficiently
- Definition Classes
- HttpDate → Renderable
-
def
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- Renderable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toInstant: Instant
-
def
toString(): String
- Definition Classes
- Renderable → Any
-
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( ... ) @native()
- def →[B](y: B): (HttpDate, B)
Shadowed Implicit Value Members
-
def
<(that: HttpDate): Boolean
- Implicit
- This member is added by an implicit conversion from HttpDate to Ordered[HttpDate] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(httpDate: Ordered[HttpDate]).<(that)
- Definition Classes
- Ordered
-
def
<=(that: HttpDate): Boolean
- Implicit
- This member is added by an implicit conversion from HttpDate to Ordered[HttpDate] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(httpDate: Ordered[HttpDate]).<=(that)
- Definition Classes
- Ordered
-
def
>(that: HttpDate): Boolean
- Implicit
- This member is added by an implicit conversion from HttpDate to Ordered[HttpDate] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(httpDate: Ordered[HttpDate]).>(that)
- Definition Classes
- Ordered
-
def
>=(that: HttpDate): Boolean
- Implicit
- This member is added by an implicit conversion from HttpDate to Ordered[HttpDate] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(httpDate: Ordered[HttpDate]).>=(that)
- Definition Classes
- Ordered
-
def
compare(that: HttpDate): Int
- Implicit
- This member is added by an implicit conversion from HttpDate to Ordered[HttpDate] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(httpDate: Ordered[HttpDate]).compare(that)
- Definition Classes
- Ordered
-
def
compareTo(that: HttpDate): Int
- Implicit
- This member is added by an implicit conversion from HttpDate to Ordered[HttpDate] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(httpDate: Ordered[HttpDate]).compareTo(that)
- Definition Classes
- Ordered → Comparable