org.mashupbots.socko.events

ImmutableHttpHeaders

case class ImmutableHttpHeaders(values: Seq[HttpHeader]) extends Iterable[HttpHeader] with Product with Serializable

Immutable and read only collection of HTTP headers

Unlike a HashMap, this collection supports multiple entries with the same field name and name matching is performed in a case insensitive manner as per RFC 2616.

Linear Supertypes
Serializable, Serializable, Product, Iterable[HttpHeader], IterableLike[HttpHeader, Iterable[HttpHeader]], Equals, GenIterable[HttpHeader], GenIterableLike[HttpHeader, Iterable[HttpHeader]], Traversable[HttpHeader], GenTraversable[HttpHeader], GenericTraversableTemplate[HttpHeader, Iterable], TraversableLike[HttpHeader, Iterable[HttpHeader]], GenTraversableLike[HttpHeader, Iterable[HttpHeader]], Parallelizable[HttpHeader, ParIterable[HttpHeader]], TraversableOnce[HttpHeader], GenTraversableOnce[HttpHeader], FilterMonadic[HttpHeader, Iterable[HttpHeader]], HasNewBuilder[HttpHeader, Iterable[org.mashupbots.socko.events.HttpHeader] @scala.annotation.unchecked.uncheckedVariance], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ImmutableHttpHeaders
  2. Serializable
  3. Serializable
  4. Product
  5. Iterable
  6. IterableLike
  7. Equals
  8. GenIterable
  9. GenIterableLike
  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

Instance Constructors

  1. new ImmutableHttpHeaders(values: Seq[HttpHeader])

Type Members

  1. type Self = Iterable[HttpHeader]

    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 >: HttpHeader, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[HttpHeader], B, That]): That

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  7. def :\[B](z: B)(op: (HttpHeader, 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, HttpHeader) ⇒ 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[HttpHeader, B])(implicit bf: CanBuildFrom[Iterable[HttpHeader], B, That]): That

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

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

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  19. def contains(name: String): Boolean

    Returns true if there is a header with the specified name

    Returns true if there is a header with the specified name

    name

    Name of header field to match in a case insensitive manner (RFC 2616)

    returns

    True if there is a header with the specified name, false otherwise

  20. def copyToArray[B >: HttpHeader](xs: Array[B], start: Int, len: Int): Unit

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

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

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

    Definition Classes
    TraversableOnce
  24. def count(p: (HttpHeader) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def drop(n: Int): Iterable[HttpHeader]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  26. def dropRight(n: Int): Iterable[HttpHeader]

    Definition Classes
    IterableLike
  27. def dropWhile(p: (HttpHeader) ⇒ Boolean): Iterable[HttpHeader]

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

    Definition Classes
    AnyRef
  29. def exists(p: (HttpHeader) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  30. def filter(p: (HttpHeader) ⇒ Boolean): Iterable[HttpHeader]

    Definition Classes
    TraversableLike → GenTraversableLike
  31. def filterNot(p: (HttpHeader) ⇒ Boolean): Iterable[HttpHeader]

    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: (HttpHeader) ⇒ Boolean): Option[HttpHeader]

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

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

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

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

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

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

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

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

    Definition Classes
    GenericTraversableTemplate
  42. def get(name: String): Option[String]

    Returns the value of the first header that has a matching name.

    Returns the value of the first header that has a matching name.

    name

    Name of header field to match in a case insensitive manner (RFC 2616)

    returns

    None if not found, else the value of the first header with a matching name

  43. def getAll(name: String): Seq[String]

    Returns the values of all matching headers

    Returns the values of all matching headers

    name

    Name of header field to match in a case insensitive manner (RFC 2616)

    returns

    Sequence of matching values

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

    Definition Classes
    AnyRef → Any
  45. def getOrElse(name: String, defaultValue: String): String

    Returns the value of the first header that matches the name.

    Returns the value of the first header that matches the name.

    name

    Name of header field to match in a case insensitive manner (RFC 2616)

    defaultValue

    value to return if header not found

    returns

    Default value if not found, else the value of the first header with a matching name

  46. def groupBy[K](f: (HttpHeader) ⇒ K): Map[K, Iterable[HttpHeader]]

    Definition Classes
    TraversableLike → GenTraversableLike
  47. def grouped(size: Int): Iterator[Iterable[HttpHeader]]

    Definition Classes
    IterableLike
  48. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  49. def head: HttpHeader

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  50. def headOption: Option[HttpHeader]

    Definition Classes
    TraversableLike → GenTraversableLike
  51. def init: Iterable[HttpHeader]

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

    Definition Classes
    TraversableLike
  53. def isEmpty: Boolean

    Definition Classes
    IterableLike → 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[HttpHeader]

    Creates a new iterator over all headers

    Creates a new iterator over all headers

    Definition Classes
    ImmutableHttpHeaders → IterableLike → GenIterableLike
  57. def last: HttpHeader

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

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

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

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

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

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

    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[HttpHeader, Iterable[HttpHeader]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → 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[HttpHeader]

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def reduce[A1 >: HttpHeader](op: (A1, A1) ⇒ A1): A1

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def repr: Iterable[HttpHeader]

    Definition Classes
    TraversableLike → GenTraversableLike
  83. def reversed: List[HttpHeader]

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

    Definition Classes
    IterableLike → GenIterableLike
  85. def scan[B >: HttpHeader, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[HttpHeader], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  86. def scanLeft[B, That](z: B)(op: (B, HttpHeader) ⇒ B)(implicit bf: CanBuildFrom[Iterable[HttpHeader], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  87. def scanRight[B, That](z: B)(op: (HttpHeader, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[HttpHeader], 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.

  88. def seq: Iterable[HttpHeader]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def slice(from: Int, until: Int): Iterable[HttpHeader]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  91. def sliding(size: Int, step: Int): Iterator[Iterable[HttpHeader]]

    Definition Classes
    IterableLike
  92. def sliding(size: Int): Iterator[Iterable[HttpHeader]]

    Definition Classes
    IterableLike
  93. def span(p: (HttpHeader) ⇒ Boolean): (Iterable[HttpHeader], Iterable[HttpHeader])

    Definition Classes
    TraversableLike → GenTraversableLike
  94. def splitAt(n: Int): (Iterable[HttpHeader], Iterable[HttpHeader])

    Definition Classes
    TraversableLike → GenTraversableLike
  95. def stringPrefix: String

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

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

    Definition Classes
    AnyRef
  98. def tail: Iterable[HttpHeader]

    Definition Classes
    TraversableLike → GenTraversableLike
  99. def tails: Iterator[Iterable[HttpHeader]]

    Definition Classes
    TraversableLike
  100. def take(n: Int): Iterable[HttpHeader]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  101. def takeRight(n: Int): Iterable[HttpHeader]

    Definition Classes
    IterableLike
  102. def takeWhile(p: (HttpHeader) ⇒ Boolean): Iterable[HttpHeader]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  103. def thisCollection: Iterable[HttpHeader]

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def toBuffer[B >: HttpHeader]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  107. def toCollection(repr: Iterable[HttpHeader]): Iterable[HttpHeader]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  108. def toIndexedSeq: IndexedSeq[HttpHeader]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def toIterable: Iterable[HttpHeader]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  110. def toIterator: Iterator[HttpHeader]

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def toSeq: Seq[HttpHeader]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. def toSet[B >: HttpHeader]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def toStream: Stream[HttpHeader]

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

    Definition Classes
    TraversableLike → Any
  117. def toTraversable: Traversable[HttpHeader]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  119. def transpose[B](implicit asTraversable: (HttpHeader) ⇒ 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.

  120. def unzip[A1, A2](implicit asPair: (HttpHeader) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

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

    Definition Classes
    GenericTraversableTemplate
  122. def view(from: Int, until: Int): IterableView[HttpHeader, Iterable[HttpHeader]]

    Definition Classes
    IterableLike → TraversableLike
  123. def view: IterableView[HttpHeader, Iterable[HttpHeader]]

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  127. def withFilter(p: (HttpHeader) ⇒ Boolean): FilterMonadic[HttpHeader, Iterable[HttpHeader]]

    Definition Classes
    TraversableLike → FilterMonadic
  128. def zip[A1 >: HttpHeader, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[HttpHeader], (A1, B), That]): That

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

    Definition Classes
    IterableLike → GenIterableLike
  130. def zipWithIndex[A1 >: HttpHeader, That](implicit bf: CanBuildFrom[Iterable[HttpHeader], (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Iterable[HttpHeader]

Inherited from IterableLike[HttpHeader, Iterable[HttpHeader]]

Inherited from Equals

Inherited from GenIterable[HttpHeader]

Inherited from GenIterableLike[HttpHeader, Iterable[HttpHeader]]

Inherited from Traversable[HttpHeader]

Inherited from GenTraversable[HttpHeader]

Inherited from GenericTraversableTemplate[HttpHeader, Iterable]

Inherited from TraversableLike[HttpHeader, Iterable[HttpHeader]]

Inherited from GenTraversableLike[HttpHeader, Iterable[HttpHeader]]

Inherited from Parallelizable[HttpHeader, ParIterable[HttpHeader]]

Inherited from TraversableOnce[HttpHeader]

Inherited from GenTraversableOnce[HttpHeader]

Inherited from FilterMonadic[HttpHeader, Iterable[HttpHeader]]

Inherited from HasNewBuilder[HttpHeader, Iterable[org.mashupbots.socko.events.HttpHeader] @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyRef

Inherited from Any

Ungrouped