implicit final class Trailer[T <: HttpMessage] extends AnyVal
Provides standardized access to Trailer header.
- Alphabetic
- By Inheritance
- Trailer
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Trailer(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 getTrailer: Option[Seq[String]]
Gets Trailer header values if present.
- def hasTrailer: Boolean
Tests whether Trailer header is present.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def removeTrailer()(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message removing Trailer header.
- def toString(): String
- Definition Classes
- Any
- def trailer: Seq[String]
Gets Trailer header values.
Gets Trailer header values.
- returns
header values or empty sequence if Trailer is not present
- def withTrailer(values: String*)(implicit ev: <:<[T, MessageBuilder[T]]): T
Creates new message setting Trailer header to supplied values.