implicit final class Via[T <: HttpMessage] extends AnyVal
Provides standardized access to Via header.
- Alphabetic
- By Inheritance
- Via
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Via(message: T)
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(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message removing Via header.
-
def
setVia(one: ViaType, more: ViaType*)(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message setting Via header to supplied values.
-
def
setVia(values: Seq[ViaType])(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message setting Via header to supplied values.
-
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
Provided herein is API documentation for Scamper, the HTTP library for Scala.