implicit final class Via extends AnyVal
Provides standardized access to Via header.
- Alphabetic
- By Inheritance
- Via
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Via(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 getVia: Option[Seq[ViaType]]
Gets Via header values if present.
- def hasVia: Boolean
Tests for Via header.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def removeVia(): HttpResponse
Creates new response removing Via header.
- def toString(): String
- Definition Classes
- Any
- def via: Seq[ViaType]
Gets Via header values.
Gets Via header values.
- returns
header values or empty sequence if Via is not present
- def withVia(one: ViaType, more: ViaType*): HttpResponse
Creates new response setting Via header to supplied values.
- def withVia(values: Seq[ViaType]): HttpResponse
Creates new response setting Via header to supplied values.
Provided herein is API documentation for Scamper, the HTTP library for Scala.