implicit final class Vary extends AnyVal
Provides standardized access to Vary header.
- Alphabetic
- By Inheritance
- Vary
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Vary(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 getVary: Option[Seq[String]]
Gets Vary header values if present.
- def hasVary: Boolean
Tests whether Vary header is present.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def removeVary(): HttpResponse
Creates new response removing Vary header.
- def toString(): String
- Definition Classes
- Any
- def vary: Seq[String]
Gets Vary header values.
Gets Vary header values.
- returns
header values or empty sequence if Vary is not present
- def withVary(values: String*): HttpResponse
Creates new response setting Vary header to supplied values.