org.http4s

Headers

final class Headers extends Iterable[Header] with IterableLike[Header, Headers]

A collection of HTTP Headers

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Headers
  2. Iterable
  3. Iterable
  4. IterableLike
  5. Equals
  6. GenIterable
  7. GenIterableLike
  8. Traversable
  9. Immutable
  10. Traversable
  11. GenTraversable
  12. GenericTraversableTemplate
  13. TraversableLike
  14. GenTraversableLike
  15. Parallelizable
  16. TraversableOnce
  17. GenTraversableOnce
  18. FilterMonadic
  19. HasNewBuilder
  20. AnyRef
  21. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Self = Headers

    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def ++[B >: Header, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Headers, B, That]): That

    Concatenate the two collections If the resulting collection is of Headers type, duplicate Singleton headers will be removed from this Headers collection.

    Concatenate the two collections If the resulting collection is of Headers type, duplicate Singleton headers will be removed from this Headers collection.

    B

    type contained in collection that

    That

    resulting type of the new collection

    that

    collection to append

    Definition Classes
    Headers → TraversableLike → GenTraversableLike
  4. def ++:[B >: Header, That](that: Traversable[B])(implicit bf: CanBuildFrom[Headers, B, That]): That

    Definition Classes
    TraversableLike
  5. def ++:[B >: Header, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Headers, B, That]): That

    Definition Classes
    TraversableLike
  6. def /:[B](z: B)(op: (B, Header) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  7. def :\[B](z: B)(op: (Header, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  10. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  11. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  12. def aggregate[B](z: ⇒ B)(seqop: (B, Header) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def collect[B, That](pf: PartialFunction[Header, B])(implicit bf: CanBuildFrom[Headers, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  17. def collectFirst[B](pf: PartialFunction[Header, B]): Option[B]

    Definition Classes
    TraversableOnce
  18. def companion: GenericCompanion[Iterable]

    Definition Classes
    Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  19. def copyToArray[B >: Header](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  20. def copyToArray[B >: Header](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def copyToArray[B >: Header](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. def copyToBuffer[B >: Header](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  23. def count(p: (Header) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  24. def drop(n: Int): Headers

    Definition Classes
    Headers → IterableLike → TraversableLike → GenTraversableLike
  25. def dropRight(n: Int): Headers

    Definition Classes
    IterableLike
  26. def dropWhile(p: (Header) ⇒ Boolean): Headers

    Definition Classes
    TraversableLike → GenTraversableLike
  27. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  29. def exists(p: (Header) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  30. def filter(p: (Header) ⇒ Boolean): Headers

    Definition Classes
    TraversableLike → GenTraversableLike
  31. def filterNot(p: (Header) ⇒ Boolean): Headers

    Definition Classes
    TraversableLike → GenTraversableLike
  32. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. def find(p: (Header) ⇒ Boolean): Option[Header]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  34. def flatMap[B, That](f: (Header) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Headers, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  35. def flatten[B](implicit asTraversable: (Header) ⇒ GenTraversableOnce[B]): Iterable[B]

    Definition Classes
    GenericTraversableTemplate
  36. def fold[A1 >: Header](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def foldLeft[B](z: B)(op: (B, Header) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def foldRight[B](z: B)(op: (Header, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  39. def forall(p: (Header) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  40. def foreach[B](f: (Header) ⇒ B): Unit

    Definition Classes
    Headers → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  41. def genericBuilder[B]: Builder[B, Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
  42. def get(key: CaseInsensitiveString): Option[Raw]

    Attempt to get a org.http4s.Header.Raw from this collection of headers

    Attempt to get a org.http4s.Header.Raw from this collection of headers

    key

    name of the header to find

    returns

    a scala.Option possibly containing the resulting org.http4s.Header.Raw

    See also

    HeaderKey.Default in conjunction with get(HeaderKey)

  43. def get(key: Extractable): Option[HeaderKey.Extractable.HeaderT]

    Attempt to get a org.http4s.Header of type key.HeaderT from this collection

    Attempt to get a org.http4s.Header of type key.HeaderT from this collection

    key

    HeaderKey.Extractable that can identify the required header

    returns

    a scala.Option possibly containing the resulting header of type key.HeaderT

    See also

    Header object and get(CaseInsensitiveString)

  44. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  45. def groupBy[K](f: (Header) ⇒ K): Map[K, Headers]

    Definition Classes
    TraversableLike → GenTraversableLike
  46. def grouped(size: Int): Iterator[Headers]

    Definition Classes
    IterableLike
  47. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  48. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  49. def head: Header

    Definition Classes
    Headers → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
  50. def headOption: Option[Header]

    Definition Classes
    TraversableLike → GenTraversableLike
  51. def init: Headers

    Definition Classes
    TraversableLike → GenTraversableLike
  52. def inits: Iterator[Headers]

    Definition Classes
    TraversableLike
  53. def isEmpty: Boolean

    Definition Classes
    Headers → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  54. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  55. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  56. def iterator: Iterator[Header]

    Definition Classes
    Headers → IterableLike → GenIterableLike
  57. def last: Header

    Definition Classes
    TraversableLike → GenTraversableLike
  58. def lastOption: Option[Header]

    Definition Classes
    TraversableLike → GenTraversableLike
  59. def map[B, That](f: (Header) ⇒ B)(implicit bf: CanBuildFrom[Headers, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  60. def max[B >: Header](implicit cmp: Ordering[B]): Header

    Definition Classes
    TraversableOnce → GenTraversableOnce
  61. def maxBy[B](f: (Header) ⇒ B)(implicit cmp: Ordering[B]): Header

    Definition Classes
    TraversableOnce → GenTraversableOnce
  62. def min[B >: Header](implicit cmp: Ordering[B]): Header

    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. def minBy[B](f: (Header) ⇒ B)(implicit cmp: Ordering[B]): Header

    Definition Classes
    TraversableOnce → GenTraversableOnce
  64. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  65. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  66. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  68. def newBuilder: Builder[Header, Headers]

    Attributes
    protected
    Definition Classes
    Headers → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  69. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  70. final def notify(): Unit

    Definition Classes
    AnyRef
  71. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  72. def par: ParIterable[Header]

    Definition Classes
    Parallelizable
  73. def parCombiner: Combiner[Header, ParIterable[Header]]

    Attributes
    protected[this]
    Definition Classes
    Iterable → TraversableLike → Parallelizable
  74. def partition(p: (Header) ⇒ Boolean): (Headers, Headers)

    Definition Classes
    TraversableLike → GenTraversableLike
  75. def product[B >: Header](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def put(in: Header*): Headers

    Make a new collection adding the specified headers, replacing existing headers of singleton type The passed headers are assumed to contain no duplicate Singleton headers.

    Make a new collection adding the specified headers, replacing existing headers of singleton type The passed headers are assumed to contain no duplicate Singleton headers.

    in

    multiple Header to append to the new collection

    returns

    a new Headers containing the sum of the initial and input headers

  77. def reduce[A1 >: Header](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def reduceLeft[B >: Header](op: (B, Header) ⇒ B): B

    Definition Classes
    TraversableOnce
  79. def reduceLeftOption[B >: Header](op: (B, Header) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def reduceOption[A1 >: Header](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def reduceRight[B >: Header](op: (Header, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  82. def reduceRightOption[B >: Header](op: (Header, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. def repr: Headers

    Definition Classes
    TraversableLike → GenTraversableLike
  84. def reversed: List[Header]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  85. def sameElements[B >: Header](that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  86. def scan[B >: Header, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Headers, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  87. def scanLeft[B, That](z: B)(op: (B, Header) ⇒ B)(implicit bf: CanBuildFrom[Headers, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  88. def scanRight[B, That](z: B)(op: (Header, B) ⇒ B)(implicit bf: CanBuildFrom[Headers, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  89. def seq: Iterable[Header]

    Definition Classes
    Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  90. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def slice(from: Int, until: Int): Headers

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  92. def sliding(size: Int, step: Int): Iterator[Headers]

    Definition Classes
    IterableLike
  93. def sliding(size: Int): Iterator[Headers]

    Definition Classes
    IterableLike
  94. def span(p: (Header) ⇒ Boolean): (Headers, Headers)

    Definition Classes
    TraversableLike → GenTraversableLike
  95. def splitAt(n: Int): (Headers, Headers)

    Definition Classes
    TraversableLike → GenTraversableLike
  96. def stringPrefix: String

    Definition Classes
    TraversableLike → GenTraversableLike
  97. def sum[B >: Header](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  99. def tail: Headers

    Definition Classes
    TraversableLike → GenTraversableLike
  100. def tails: Iterator[Headers]

    Definition Classes
    TraversableLike
  101. def take(n: Int): Headers

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  102. def takeRight(n: Int): Headers

    Definition Classes
    IterableLike
  103. def takeWhile(p: (Header) ⇒ Boolean): Headers

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  104. def thisCollection: Iterable[Header]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  105. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Header, Col[Header]]): Col[Header]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  106. def toArray[B >: Header](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  107. def toBuffer[B >: Header]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. def toCollection(repr: Headers): Iterable[Header]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  109. def toIndexedSeq: IndexedSeq[Header]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def toIterable: Iterable[Header]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  111. def toIterator: Iterator[Header]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  112. def toList: List[Header]

    Definition Classes
    Headers → TraversableOnce → GenTraversableOnce
  113. def toMap[T, U](implicit ev: <:<[Header, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. def toSeq: Seq[Header]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def toSet[B >: Header]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def toStream: Stream[Header]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  117. def toString(): String

    Definition Classes
    TraversableLike → Any
  118. def toTraversable: Traversable[Header]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  119. def toVector: Vector[Header]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  120. def transpose[B](implicit asTraversable: (Header) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  121. def unzip[A1, A2](implicit asPair: (Header) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  122. def unzip3[A1, A2, A3](implicit asTriple: (Header) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  123. def view(from: Int, until: Int): IterableView[Header, Headers]

    Definition Classes
    IterableLike → TraversableLike
  124. def view: IterableView[Header, Headers]

    Definition Classes
    IterableLike → TraversableLike
  125. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  126. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  127. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  128. def withFilter(p: (Header) ⇒ Boolean): FilterMonadic[Header, Headers]

    Definition Classes
    TraversableLike → FilterMonadic
  129. def zip[A1 >: Header, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Headers, (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  130. def zipAll[B, A1 >: Header, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Headers, (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  131. def zipWithIndex[A1 >: Header, That](implicit bf: CanBuildFrom[Headers, (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Inherited from Iterable[Header]

Inherited from Iterable[Header]

Inherited from IterableLike[Header, Headers]

Inherited from Equals

Inherited from GenIterable[Header]

Inherited from GenIterableLike[Header, Headers]

Inherited from Traversable[Header]

Inherited from Immutable

Inherited from Traversable[Header]

Inherited from GenTraversable[Header]

Inherited from TraversableLike[Header, Headers]

Inherited from GenTraversableLike[Header, Headers]

Inherited from TraversableOnce[Header]

Inherited from GenTraversableOnce[Header]

Inherited from FilterMonadic[Header, Headers]

Inherited from HasNewBuilder[Header, Headers]

Inherited from AnyRef

Inherited from Any

Ungrouped