object Header
- Source
- Header.scala
- Alphabetic
- By Inheritance
- Header
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait LowPrio extends AnyRef
- final case class Raw(name: CIString, value: String) extends Product with Serializable
- case class Recurring() extends Type with Product with Serializable
-
sealed
trait
Select[A] extends AnyRef
Abstracts over Single and Recurring Headers
- case class Single() extends Type with Product with Serializable
-
sealed
trait
ToRaw extends AnyRef
Target for implicit conversions to Header.Raw from modelled headers and key-value pairs.
Target for implicit conversions to Header.Raw from modelled headers and key-value pairs.
A method taking variadic
ToRaw
arguments will allow taking heteregenous arguments, provided they are either:- A value of type
A
which has aHeader[A]
in scope - A (name, value) pair ofString
, which is treated as aRecurring
header - AHeader.Raw
- AFoldable
(List
,Option
, etc) of the above.- See also
-
sealed
trait
Type extends AnyRef
Classifies modelled headers into
Single
headers, which can only appear once, andRecurring
headers, which can appear multiple times.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A](implicit ev: Header[A, _]): ev.type
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def create[A, T <: Type](name_: CIString, value_: (A) ⇒ String, parse_: (String) ⇒ Either[ParseFailure, A]): Header[A, T]
- def createRendered[A, T <: Type, B](name_: CIString, value_: (A) ⇒ B, parse_: (String) ⇒ Either[ParseFailure, A])(implicit arg0: Renderer[B]): Header[A, T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object Raw extends Serializable
- object Select extends LowPrio
- object ToRaw