implicit final class EarlyData extends AnyVal
Provides standardized access to Early-Data header.
- Alphabetic
- By Inheritance
- EarlyData
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new EarlyData(request: HttpRequest)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def earlyData: Int
Gets Early-Data header value.
Gets Early-Data header value.
- Exceptions thrown
HeaderNotFound
if Early-Data is not present
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getEarlyData: Option[Int]
Gets Early-Data header value if present.
- def hasEarlyData: Boolean
Tests whether Early-Data header is present.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def removeEarlyData(): HttpRequest
Creates new request removing Early-Data header.
- def toString(): String
- Definition Classes
- Any
- def withEarlyData(value: Int): HttpRequest
Creates new request setting Early-Data header to supplied value.