Packages

object Header

Source
Header.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Header
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait LowPrio extends AnyRef
  2. final case class Raw(name: CIString, value: String) extends Product with Serializable
  3. case class Recurring() extends Type with Product with Serializable
  4. sealed trait Select[A] extends AnyRef

    Abstracts over Single and Recurring Headers

  5. case class Single() extends Type with Product with Serializable
  6. 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 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.

    See also

    org.http4s.Headers$.apply

  7. sealed trait Type extends AnyRef

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[A](implicit ev: Header[A, _]): ev.type
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def create[A, T <: Type](name_: CIString, value_: (A) ⇒ String, parse_: (String) ⇒ Either[ParseFailure, A]): Header[A, T]
  8. def createRendered[A, T <: Type, B](name_: CIString, value_: (A) ⇒ B, parse_: (String) ⇒ Either[ParseFailure, A])(implicit arg0: Renderer[B]): Header[A, T]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. object Raw extends Serializable
  24. object Select extends LowPrio
  25. object ToRaw

Deprecated Value Members

  1. def apply(name: String, value: String): Raw
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.0) use Header.Raw.apply

Inherited from AnyRef

Inherited from Any

Ungrouped