org.mashupbots.socko.events

MutableHttpHeaders

case class MutableHttpHeaders() extends Iterable[HttpHeader] with Product with Serializable

Mutable 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. MutableHttpHeaders
  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 MutableHttpHeaders()

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. def append(header: HttpHeader): Unit

    Appends the specified header to the end of the collection.

    Appends the specified header to the end of the collection.

    No checks are performed for uniqueness. This methods can be use for example, to append multiple cookies header fields.

    header

    HTTP header that will be appended

  14. def append(name: String, value: String): Unit

    Appends the specified header to the end of the collection.

    Appends the specified header to the end of the collection.

    No checks are performed for uniqueness. This methods can be use for example, to append multiple cookies header fields.

    name

    Name of header field.

    value

    Value of the header

  15. final def asInstanceOf[T0]: T0

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

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

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

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

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

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  21. 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    GenericTraversableTemplate
  44. 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

  45. 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

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

    Definition Classes
    AnyRef → Any
  47. 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

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

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

    Definition Classes
    IterableLike
  50. def hasDefiniteSize: Boolean

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

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

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

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

    Definition Classes
    TraversableLike
  55. def isEmpty: Boolean

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

    Definition Classes
    Any
  57. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  58. def iterator: Iterator[HttpHeader]

    Creates a new iterator over all headers

    Creates a new iterator over all headers

    Definition Classes
    MutableHttpHeaders → IterableLike → GenIterableLike
  59. def last: HttpHeader

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  66. def mkString: String

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

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

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

    Definition Classes
    AnyRef
  70. def newBuilder: Builder[HttpHeader, Iterable[HttpHeader]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  71. def nonEmpty: Boolean

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

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

    Definition Classes
    AnyRef
  74. def par: ParIterable[HttpHeader]

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def put(header: HttpHeader): Unit

    Adds the specified header to the collection.

    Adds the specified header to the collection. If an existing entry with the same name exists, the old entries are replaced with the new value.

    header

    HTTP header that will be put into the collection

  79. def put(name: String, value: String): Unit

    Adds the specified header to the collection.

    Adds the specified header to the collection. If an existing entry with the same name exists, the old entries are replaced with the new value.

    Matching of names is performed in a case insensitive manner

    name

    Name of header field.

    value

    Value of the header

  80. def reduce[A1 >: HttpHeader](op: (A1, A1) ⇒ A1): A1

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  86. def remove(name: String): Int

    Removes all headers of with the specified name

    Removes all headers of with the specified name

    name

    Name of header field to remove

    returns

    The number of headers removed

  87. def repr: Iterable[HttpHeader]

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

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  92. 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.

  93. def seq: Iterable[HttpHeader]

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

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

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

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  100. def stringPrefix: String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  124. 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.

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

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

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

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

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

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

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

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

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

    Definition Classes
    IterableLike → GenIterableLike
  134. 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
  135. 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