implicit final class Warning extends AnyVal
Provides standardized access to Warning header.
- Alphabetic
- By Inheritance
- Warning
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Warning(response: HttpResponse)
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 getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getWarning: Option[Seq[WarningType]]
Gets Warning header values if present.
- def hasWarning: Boolean
Tests whether Warning header is present.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def removeWarning(): HttpResponse
Creates new response removing Warning header.
- def toString(): String
- Definition Classes
- Any
- def warning: Seq[WarningType]
Gets Warning header values.
Gets Warning header values.
- returns
header values or empty sequence if Warning is not present
- def withWarning(values: WarningType*): HttpResponse
Creates new response setting Warning header to supplied values.