implicit final class Warning extends AnyVal
Provides standardized access to Warning header.
- Alphabetic
- By Inheritance
- Warning
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
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 for Warning header.
- 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(one: WarningType, more: WarningType*): HttpResponse
Creates new response setting Warning header to supplied values.
- def withWarning(values: Seq[WarningType]): HttpResponse
Creates new response setting Warning header to supplied values.
Provided herein is API documentation for Scamper, the HTTP library for Scala.