abstract class HeaderMap extends HeaderMapVersionSpecific with Map[String, String]
Mutable message headers map.
Header names are case-insensitive. For example, get("accept")
is the same as
get("Accept").
The map is a multi-map. Use getAll to get all values for a key. Use add to append a key-value.
- Alphabetic
- By Inheritance
- HeaderMap
- Map
- MapOps
- Shrinkable
- Builder
- Growable
- Clearable
- Cloneable
- Cloneable
- Map
- Equals
- MapFactoryDefaults
- MapOps
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- HeaderMapVersionSpecific
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HeaderMap()
Type Members
- trait GenKeySet extends AnyRef
- Attributes
- protected
- Definition Classes
- MapOps
- class KeySet extends AbstractSet[K] with GenKeySet with DefaultSerializable
- Attributes
- protected
- Definition Classes
- MapOps
Abstract Value Members
- abstract def add(k: String, v: String): HeaderMap
Adds a header but don't replace existing header(s).
- abstract def addUnsafe(k: String, v: String): HeaderMap
Adds a header without replacing existing headers without validating the key and value.
- abstract def get(key: String): Option[String]
Retrieves the given header value wrapped with
Option
.Retrieves the given header value wrapped with
Option
.- Definition Classes
- HeaderMap → MapOps
- abstract def getAll(key: String): Seq[String]
Retrieves all values for a given header name.
- abstract def iterator: Iterator[(String, String)]
- Definition Classes
- IterableOnce
- abstract def removeHeader(name: String): HeaderMap.this.type
- Definition Classes
- HeaderMapVersionSpecific
- abstract def set(k: String, v: String): HeaderMap.this.type
Set a header.
Set a header. If an entry already exists, it is replaced.
- Definition Classes
- HeaderMap → HeaderMapVersionSpecific
- abstract def setUnsafe(k: String, v: String): HeaderMap.this.type
Set or replace a header without validating the key and value.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ++[V2 >: String](xs: IterableOnce[(String, V2)]): Map[String, V2]
- Definition Classes
- MapOps
- final def ++[B >: (String, String)](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def ++=(xs: IterableOnce[(String, String)]): HeaderMap.this.type
- Definition Classes
- Growable
- Annotations
- @inline()
- final def +=(elem: (String, String)): HeaderMap.this.type
- Definition Classes
- Growable
- Annotations
- @inline()
- final def --=(xs: IterableOnce[String]): HeaderMap.this.type
- Definition Classes
- Shrinkable
- Annotations
- @inline()
- final def -=(elem: String): HeaderMap.this.type
- Definition Classes
- Shrinkable
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(k: String, date: Date): HeaderMap
Adds a header without replacing existing headers, as in String), but with standard formatting for dates in HTTP headers.
- def addAll(xs: IterableOnce[(String, String)]): HeaderMap.this.type
- Definition Classes
- Growable
- def addOne(kv: (String, String)): HeaderMap.this.type
- Definition Classes
- HeaderMapVersionSpecific
- def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- MapOps → IterableOnceOps
- final def addString(b: StringBuilder): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def andThen[C](k: PartialFunction[String, C]): PartialFunction[String, C]
- Definition Classes
- PartialFunction
- def andThen[C](k: (String) => C): PartialFunction[String, C]
- Definition Classes
- PartialFunction → Function1
- def apply(key: String): String
- Definition Classes
- MapOps → Function1
- Annotations
- @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
- def applyOrElse[K1 <: String, V1 >: String](x: K1, default: (K1) => V1): V1
- Definition Classes
- MapOps → PartialFunction
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
- Definition Classes
- Map → Equals
- def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clear(): Unit
- Definition Classes
- MapOps → Builder → Clearable
- def clone(): Map[String, String]
- Definition Classes
- MapOps → Cloneable → AnyRef
- final def coll: HeaderMap.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[K2, V2](pf: PartialFunction[(String, String), (K2, V2)]): Map[K2, V2]
- Definition Classes
- MapOps
- def collect[B](pf: PartialFunction[(String, String), B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[(String, String), B]): Option[B]
- Definition Classes
- IterableOnceOps
- def compose[R](k: PartialFunction[R, String]): PartialFunction[R, String]
- Definition Classes
- PartialFunction
- def compose[A](g: (A) => String): (A) => String
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def concat[V2 >: String](suffix: IterableOnce[(String, V2)]): Map[String, V2]
- Definition Classes
- MapOps
- def concat[B >: (String, String)](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- def contains(key: String): Boolean
- Definition Classes
- MapOps
- def copyToArray[B >: (String, String)](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: (String, String)](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def copyToArray[B >: (String, String)](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def corresponds[B](that: IterableOnce[B])(p: ((String, String), B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: ((String, String)) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def default(key: String): String
- Definition Classes
- MapOps
- Annotations
- @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
- def drop(n: Int): Map[String, String]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): Map[String, String]
- Definition Classes
- IterableOps
- def dropWhile(p: ((String, String)) => Boolean): Map[String, String]
- Definition Classes
- IterableOps → IterableOnceOps
- def elementWise: ElementWiseExtractor[String, String]
- Definition Classes
- PartialFunction
- def empty: HeaderMap
- Definition Classes
- HeaderMap → MapFactoryDefaults → IterableFactoryDefaults → IterableOps
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: Any): Boolean
- Definition Classes
- Map → Equals → AnyRef → Any
- def exists(p: ((String, String)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(pred: ((String, String)) => Boolean): Map[String, String]
- Definition Classes
- IterableOps → IterableOnceOps
- def filterInPlace(p: (String, String) => Boolean): HeaderMap.this.type
- Definition Classes
- MapOps
- def filterNot(pred: ((String, String)) => Boolean): Map[String, String]
- Definition Classes
- IterableOps → IterableOnceOps
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(p: ((String, String)) => Boolean): Option[(String, String)]
- Definition Classes
- IterableOnceOps
- def flatMap[K2, V2](f: ((String, String)) => IterableOnce[(K2, V2)]): Map[K2, V2]
- Definition Classes
- MapOps
- def flatMap[B](f: ((String, String)) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: ((String, String)) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def fold[A1 >: (String, String)](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, (String, String)) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: ((String, String), B) => B): B
- Definition Classes
- IterableOnceOps
- def forall(p: ((String, String)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: ((String, String)) => U): Unit
- Definition Classes
- IterableOnceOps
- def foreachEntry[U](f: (String, String) => U): Unit
- Definition Classes
- MapOps
- def fromSpecific(coll: IterableOnce[(String, String)]): Map[String, String]
- Attributes
- protected
- Definition Classes
- MapFactoryDefaults → IterableOps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrElse[V1 >: String](key: String, default: => V1): V1
- Definition Classes
- MapOps
- def getOrElseUpdate(key: String, op: => String): String
- Definition Classes
- MapOps
- def getOrNull(key: String): String
Retrieves the given header value or
null
if it doesn't exit. - def groupBy[K](f: ((String, String)) => K): Map[K, Map[String, String]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: ((String, String)) => K)(f: ((String, String)) => B): Map[K, Iterable[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: ((String, String)) => K)(f: ((String, String)) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[Map[String, String]]
- Definition Classes
- IterableOps
- def hashCode(): Int
- Definition Classes
- Map → AnyRef → Any
- def head: (String, String)
- Definition Classes
- IterableOps
- def headOption: Option[(String, String)]
- Definition Classes
- IterableOps
- def init: Map[String, String]
- Definition Classes
- IterableOps
- def inits: Iterator[Map[String, String]]
- Definition Classes
- IterableOps
- def isDefinedAt(key: String): Boolean
- Definition Classes
- MapOps → PartialFunction
- def isEmpty: Boolean
- Definition Classes
- IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: IterableFactory[Iterable]
- Definition Classes
- Iterable → Iterable → IterableOps
- def keySet: Set[String]
- Definition Classes
- MapOps
- def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[String, S]): S
- Definition Classes
- MapOps
- def keys: Iterable[String]
- Definition Classes
- MapOps
- def keysIterator: Iterator[String]
- Definition Classes
- MapOps
- def knownSize: Int
- Definition Classes
- MapOps → Growable → IterableOnce
- def last: (String, String)
- Definition Classes
- IterableOps
- def lastOption: Option[(String, String)]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[(String, String), B, HeaderMap.this.type]
- Definition Classes
- Iterable
- def lift: (String) => Option[String]
- Definition Classes
- PartialFunction
- def map[K2, V2](f: ((String, String)) => (K2, V2)): Map[K2, V2]
- Definition Classes
- MapOps
- def map[B](f: ((String, String)) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def mapFactory: MapFactory[Map]
- Definition Classes
- Map → Map → MapOps
- final def mapFromIterable[K2, V2](it: Iterable[(K2, V2)]): Map[K2, V2]
- Attributes
- protected
- Definition Classes
- MapOps
- Annotations
- @inline()
- def mapResult[NewTo](f: (Map[String, String]) => NewTo): Builder[(String, String), NewTo]
- Definition Classes
- Builder
- def mapValuesInPlace(f: (String, String) => String): HeaderMap.this.type
- Definition Classes
- MapOps
- def max[B >: (String, String)](implicit ord: Ordering[B]): (String, String)
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: ((String, String)) => B)(implicit cmp: Ordering[B]): (String, String)
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: ((String, String)) => B)(implicit cmp: Ordering[B]): Option[(String, String)]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: (String, String)](implicit ord: Ordering[B]): Option[(String, String)]
- Definition Classes
- IterableOnceOps
- def min[B >: (String, String)](implicit ord: Ordering[B]): (String, String)
- Definition Classes
- IterableOnceOps
- def minBy[B](f: ((String, String)) => B)(implicit cmp: Ordering[B]): (String, String)
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: ((String, String)) => B)(implicit cmp: Ordering[B]): Option[(String, String)]
- Definition Classes
- IterableOnceOps
- def minOption[B >: (String, String)](implicit ord: Ordering[B]): Option[(String, String)]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[(String, String), Map[String, String]]
- Attributes
- protected
- Definition Classes
- MapFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def orElse[A1 <: String, B1 >: String](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
- def partition(p: ((String, String)) => Boolean): (Map[String, String], Map[String, String])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: ((String, String)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def product[B >: (String, String)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def put(key: String, value: String): Option[String]
- Definition Classes
- MapOps
- def reduce[B >: (String, String)](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: (String, String)](op: (B, (String, String)) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: (String, String)](op: (B, (String, String)) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: (String, String)](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: (String, String)](op: ((String, String), B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: (String, String)](op: ((String, String), B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def remove(key: String): Option[String]
- Definition Classes
- MapOps
- def result(): Map[String, String]
- Definition Classes
- MapOps → Builder
- def reversed: Iterable[(String, String)]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def runWith[U](action: (String) => U): (String) => Boolean
- Definition Classes
- PartialFunction
- def scan[B >: (String, String)](z: B)(op: (B, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, (String, String)) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: ((String, String), B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def set(k: String, date: Date): HeaderMap
Set or replace a header, as in String), but with standard formatting for dates in HTTP headers.
- def size: Int
- Definition Classes
- IterableOnceOps
- def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
- Definition Classes
- Builder
- def sizeHint(size: Int): Unit
- Definition Classes
- Builder
- final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
- Definition Classes
- Builder
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): Map[String, String]
- Definition Classes
- IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[Map[String, String]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[Map[String, String]]
- Definition Classes
- IterableOps
- def span(p: ((String, String)) => Boolean): (Map[String, String], Map[String, String])
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (Map[String, String], Map[String, String])
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[(String, String), S]): S
- Definition Classes
- IterableOnce
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- Map → Iterable
- def subtractAll(xs: IterableOnce[String]): HeaderMap.this.type
- Definition Classes
- Shrinkable
- def subtractOne(key: String): HeaderMap.this.type
- Definition Classes
- HeaderMapVersionSpecific
- def sum[B >: (String, String)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: Map[String, String]
- Definition Classes
- IterableOps
- def tails: Iterator[Map[String, String]]
- Definition Classes
- IterableOps
- def take(n: Int): Map[String, String]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): Map[String, String]
- Definition Classes
- IterableOps
- def takeWhile(p: ((String, String)) => Boolean): Map[String, String]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: ((String, String)) => U): Map[String, String]
- Definition Classes
- IterableOps → IterableOnceOps
- def to[C1](factory: Factory[(String, String), C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: (String, String)](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: (String, String)]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: IndexedSeq[(String, String)]
- Definition Classes
- IterableOnceOps
- final def toIterable: HeaderMap.this.type
- Definition Classes
- Iterable → IterableOps
- def toList: List[(String, String)]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[(String, String), (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- def toSeq: Seq[(String, String)]
- Definition Classes
- IterableOnceOps
- def toSet[B >: (String, String)]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- Map → Function1 → Iterable → AnyRef → Any
- def toVector: Vector[(String, String)]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: ((String, String)) => Iterable[B]): Iterable[Iterable[B]]
- Definition Classes
- IterableOps
- def unapply(a: String): Option[String]
- Definition Classes
- PartialFunction
- def unzip[A1, A2](implicit asPair: ((String, String)) => (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: ((String, String)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- IterableOps
- def update(key: String, value: String): Unit
- Definition Classes
- MapOps
- def updateWith(key: String)(remappingFunction: (Option[String]) => Option[String]): Option[String]
- Definition Classes
- MapOps
- def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[String, S]): S
- Definition Classes
- MapOps
- def values: Iterable[String]
- Definition Classes
- MapOps
- def valuesIterator: Iterator[String]
- Definition Classes
- MapOps
- def view: MapView[String, String]
- Definition Classes
- MapOps → IterableOps
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withDefault(d: (String) => String): Map[String, String]
- Definition Classes
- Map
- def withDefaultValue(d: String): Map[String, String]
- Definition Classes
- Map
- def withFilter(p: ((String, String)) => Boolean): WithFilter[String, String, [x]Iterable[x], [x, y]Map[x, y]]
- Definition Classes
- MapFactoryDefaults → IterableOps
- def zip[B](that: IterableOnce[B]): Iterable[((String, String), B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: (String, String), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: Iterable[((String, String), Int)]
- Definition Classes
- IterableOps → IterableOnceOps
Deprecated Value Members
- def +[V1 >: String](elem1: (String, V1), elem2: (String, V1), elems: (String, V1)*): Map[String, V1]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ with an explicit collection argument instead of + with varargs
- def +[V1 >: String](kv: (String, V1)): Map[String, V1]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Consider requiring an immutable Map or fall back to Map.concat.
- def ++:[V1 >: String](that: IterableOnce[(String, V1)]): Map[String, V1]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- def ++:[B >: (String, String)](that: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- def +=(kv: (String, Date)): HeaderMap
Set or replace a header, as in String)), but with standard formatting for dates in HTTP headers.
Set or replace a header, as in String)), but with standard formatting for dates in HTTP headers.
- Annotations
- @deprecated
- Deprecated
(Since version 2017-02-01) Use
.set(String, Date)
instead
- final def +=(elem1: (String, String), elem2: (String, String), elems: (String, String)*): HeaderMap.this.type
- Definition Classes
- Growable
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
++=
akaaddAll
instead of varargs+=
; infix operations with an operand of multiple args will be deprecated
- final def -(key1: String, key2: String, keys: String*): Map[String, String]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use -- or removeAll on an immutable Map
- final def -(key: String): Map[String, String]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use - or remove on an immutable Map
- def --(keys: IterableOnce[String]): Map[String, String]
- Definition Classes
- MapOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Consider requiring an immutable Map.
- def -=(elem1: String, elem2: String, elems: String*): HeaderMap.this.type
- Definition Classes
- Shrinkable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.3) Use
--=
akasubtractAll
instead of varargs-=
; infix operations with an operand of multiple args will be deprecated
- final def /:[B](z: B)(op: (B, (String, String)) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- final def :\[B](z: B)(op: ((String, String), B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- def aggregate[B](z: => B)(seqop: (B, (String, String)) => B, combop: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- def companion: IterableFactory[[_]Iterable[_]]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding() @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- final def copyToBuffer[B >: (String, String)](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def filterKeys(p: (String) => Boolean): MapView[String, String]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).
- def hasDefiniteSize: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- def mapValues[W](f: (String) => W): MapView[String, W]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).
- final def repr: Map[String, String]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- final def retain(p: (String, String) => Boolean): HeaderMap.this.type
- Definition Classes
- MapOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use filterInPlace instead
- def seq: HeaderMap.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- final def toIterator: Iterator[(String, String)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toStream: Stream[(String, String)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[(String, String)]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use toIterable instead
- final def transform(f: (String, String) => String): HeaderMap.this.type
- Definition Classes
- MapOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use mapValuesInPlace instead
- def updated[V1 >: String](key: String, value: V1): Map[String, V1]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use m.clone().addOne((k,v)) instead of m.updated(k, v)
- def view(from: Int, until: Int): View[(String, String)]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)