Header

org.http4s.Header$
See theHeader companion trait
object Header

Attributes

Companion:
trait
Source:
Header.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Header.type

Members list

Concise view

Type members

Classlikes

trait LowPrio

Attributes

Source:
Header.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Select.type
final case class Raw(name: CIString, value: String)

Attributes

Companion:
object
Source:
Header.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object Raw

Attributes

Companion:
class
Source:
Header.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Raw.type
final case class Recurring() extends Type

Attributes

Source:
Header.scala
Graph
Supertypes
trait Product
trait Equals
trait Type
class Object
trait Matchable
class Any
object Select extends LowPrio

Attributes

Companion:
trait
Source:
Header.scala
Graph
Supertypes
trait LowPrio
class Object
trait Matchable
class Any
Self type
Select.type
sealed trait Select[A]

Abstracts over Single and Recurring Headers

Abstracts over Single and Recurring Headers

Attributes

Companion:
object
Source:
Header.scala
Graph
Supertypes
class Object
trait Matchable
class Any
final case class Single() extends Type

Attributes

Source:
Header.scala
Graph
Supertypes
trait Product
trait Equals
trait Type
class Object
trait Matchable
class Any
object ToRaw

Attributes

Companion:
trait
Source:
Header.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ToRaw.type
sealed trait ToRaw

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 heterogeneous arguments, provided they are either:

  • A value of type A which has a Header[A] in scope
  • A (name, value) pair of String, which is treated as a Recurring header
  • A Header.Raw
  • A Foldable (List, Option, etc) of the above.

Attributes

See also:
Companion:
object
Source:
Header.scala
Graph
Supertypes
class Object
trait Matchable
class Any
sealed trait Type

Classifies modelled headers into Single headers, which can only appear once, and Recurring headers, which can appear multiple times.

Classifies modelled headers into Single headers, which can only appear once, and Recurring headers, which can appear multiple times.

Attributes

Source:
Header.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Recurring
class Single

Value members

Concrete methods

def apply[A](implicit ev: Header[A, _]): Header[A, _]

Attributes

Source:
Header.scala

Attributes

Source:
Header.scala

Attributes

Source:
Header.scala

Deprecated methods

Attributes

Deprecated
true
Source:
Header.scala