Via

final implicit
class Via[T <: HttpMessage](message: T) extends AnyVal

Provides standardized access to Via header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def getVia: Option[Seq[ViaType]]

Gets Via header values if present.

Gets Via header values if present.

def hasVia: Boolean

Tests for Via header.

Tests for Via header.

def removeVia: T

Creates new message with Via header removed.

Creates new message with Via header removed.

def setVia(values: Seq[ViaType]): T

Creates new message with Via header set to supplied values.

Creates new message with Via header set to supplied values.

def setVia(one: ViaType, more: ViaType*): T

Creates new message with Via header set to supplied values.

Creates new message with Via header set to supplied values.

def via: Seq[ViaType]

Gets Via header values.

Gets Via header values.

Returns

header values or empty sequence if Via is not present