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