sealed abstract case class Age extends Parsed with Product with Serializable
Constructs an Age header.
The value of this field is a positive number of seconds (in decimal) with an estimate of the amount of time since the response
- Source
- Age.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Age
- 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
Value Members
- val age: Long
- def duration: Option[FiniteDuration]
-
final
def
equals(that: Any): Boolean
- Definition Classes
- Header → Equals → AnyRef → Any
-
final
def
hashCode(): Int
- Definition Classes
- Header → AnyRef → Any
-
def
is(key: HeaderKey): Boolean
- Definition Classes
- Header
-
def
isNot(key: HeaderKey): Boolean
- Definition Classes
- Header
- val key: Age.type
- def name: CaseInsensitiveString
- def parsed: Age.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
-
def
toRaw: Raw
- Definition Classes
- Header
-
def
toString(): String
- Definition Classes
- Header → Renderable → AnyRef → Any
- def unsafeDuration: FiniteDuration
- val value: String