class CookieMap extends CookieMapVersionSpecific
Adapt cookies of a Message to a mutable Map where cookies are indexed by their name. Requests use the Cookie header and Responses use the Set-Cookie header. If a cookie is added to the CookieMap, a header is automatically added to the Message. You can add the same cookie more than once. Use getAll to retrieve all of them, otherwise only the first one is returned. If a cookie is removed from the CookieMap, a header is automatically removed from the message
- Alphabetic
- By Inheritance
- CookieMap
- CookieMapVersionSpecific
- Map
- MapOps
- Shrinkable
- Builder
- Growable
- Clearable
- Cloneable
- Cloneable
- Map
- Equals
- MapFactoryDefaults
- MapOps
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ++[V2 >: Cookie](xs: IterableOnce[(String, V2)]): Map[String, V2]
- Definition Classes
- MapOps
- final def ++[B >: (String, Cookie)](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def ++=(xs: IterableOnce[(String, Cookie)]): CookieMap.this.type
- Definition Classes
- Growable
- Annotations
- @inline()
- def +=(cookie: Cookie): CookieMap
Adds the given
cookie
into this map.Adds the given
cookie
into this map.On a Response: existing cookies with this name but different domain/path will be kept. If there is already an identical cookie (different value but name/path/domain is the same) in the map, it will be replaced within a new version.
On a Request: existing cookies with this name will be kept, as request cookies do not have a domain/path to distinguish them, yet the same cookie name can be repeated in a request. If there are already cookies with the given
name
andvalue
, they will be removed. - final def +=(elem: (String, Cookie)): CookieMap.this.type
- Definition Classes
- Growable
- Annotations
- @inline()
- final def --=(xs: IterableOnce[String]): CookieMap.this.type
- Definition Classes
- Shrinkable
- Annotations
- @inline()
- final def -=(elem: String): CookieMap.this.type
- Definition Classes
- Shrinkable
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(cookie: Cookie): Unit
Adds the given
cookie
into this map.Adds the given
cookie
into this map.On a Response: existing cookies with this name but different domain/path will be kept. If there is already an identical cookie (different value but name/path/domain is the same) in the map, it will be replaced within a new version.
On a Request: existing cookies with this name will be kept, as request cookies do not have a domain/path to distinguish them, yet the same cookie name can be repeated in a request. If there are already cookies with the given
name
andvalue
, they will be removed.- See also
addAll for adding cookies in bulk
- def add(name: String, cookie: Cookie): Unit
Adds the given
cookie
withname
into this map.Adds the given
cookie
withname
into this map.On a Response: existing cookies with this name but different domain/path will be kept. If there is already an identical cookie (different value but name/path/domain is the same) in the map, it will be replaced within a new version.
On a Request: existing cookies with this name will be kept, as request cookies do not have a domain/path to distinguish them, yet the same cookie name can be repeated in a request. If there are already cookies with the given
name
andvalue
, they will be removed.- See also
addAll for adding cookies in bulk
- def addAll(cookies: TraversableOnce[Cookie]): Unit
Adds multiple
cookies
into this map.Adds multiple
cookies
into this map.On a Response: existing cookies with this name but different domain/path will be kept. If there is already an identical cookie (different value but name/path/domain is the same) in the map, it will be replaced within a new version.
On a Request: existing cookies with this name will be kept, as request cookies do not have a domain/path to distinguish them, yet the same cookie name can be repeated in a request. If there are already cookies with the given
name
andvalue
, they will be removed. - def addAll(cookies: IterableOnce[(String, Cookie)]): CookieMap.this.type
- Definition Classes
- CookieMapVersionSpecific → Growable
- def addCookie(cookie: (String, Cookie)): CookieMap.this.type
Adds the given
cookie
(which is a tuple of cookiename
andCookie
itself) into this map.Adds the given
cookie
(which is a tuple of cookiename
andCookie
itself) into this map.On a Response: existing cookies with this name but different domain/path will be kept. If there is already an identical cookie (different value but name/path/domain is the same) in the map, it will be replaced within a new version.
On a Request: existing cookies with this name will be kept, as request cookies do not have a domain/path to distinguish them, yet the same cookie name can be repeated in a request. If there are already cookies with the given
name
andvalue
, they will be removed.- Attributes
- protected
- Definition Classes
- CookieMap → CookieMapVersionSpecific
- def addCookies(cookies: TraversableOnce[(String, Cookie)]): CookieMap.this.type
Adds the given
cookies
(which are tuples of cookiename
andCookie
itself) into this map.Adds the given
cookies
(which are tuples of cookiename
andCookie
itself) into this map.On a Response: existing cookies with this name but different domain/path will be kept. If there is already an identical cookie (different value but name/path/domain is the same) in the map, it will be replaced within a new version.
On a Request: existing cookies with this name will be kept, as request cookies do not have a domain/path to distinguish them, yet the same cookie name can be repeated in a request. If there are already cookies with the given
name
andvalue
, they will be removed.- Attributes
- protected
- Definition Classes
- CookieMap → CookieMapVersionSpecific
- def addOne(cookie: (String, Cookie)): CookieMap.this.type
- Definition Classes
- CookieMapVersionSpecific → Growable
- 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[Cookie, C]): PartialFunction[String, C]
- Definition Classes
- PartialFunction
- def andThen[C](k: (Cookie) => C): PartialFunction[String, C]
- Definition Classes
- PartialFunction → Function1
- def apply(key: String): Cookie
- Definition Classes
- MapOps → Function1
- Annotations
- @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
- def applyOrElse[K1 <: String, V1 >: Cookie](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, Cookie]
- Definition Classes
- MapOps → Cloneable → AnyRef
- final def coll: CookieMap.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[K2, V2](pf: PartialFunction[(String, Cookie), (K2, V2)]): Map[K2, V2]
- Definition Classes
- MapOps
- def collect[B](pf: PartialFunction[(String, Cookie), B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[(String, Cookie), B]): Option[B]
- Definition Classes
- IterableOnceOps
- def compose[R](k: PartialFunction[R, String]): PartialFunction[R, Cookie]
- Definition Classes
- PartialFunction
- def compose[A](g: (A) => String): (A) => Cookie
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def concat[V2 >: Cookie](suffix: IterableOnce[(String, V2)]): Map[String, V2]
- Definition Classes
- MapOps
- def concat[B >: (String, Cookie)](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- def contains(key: String): Boolean
- Definition Classes
- MapOps
- def copyToArray[B >: (String, Cookie)](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: (String, Cookie)](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def copyToArray[B >: (String, Cookie)](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def corresponds[B](that: IterableOnce[B])(p: ((String, Cookie), B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: ((String, Cookie)) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def default(key: String): Cookie
- Definition Classes
- MapOps
- Annotations
- @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
- def drop(n: Int): Map[String, Cookie]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): Map[String, Cookie]
- Definition Classes
- IterableOps
- def dropWhile(p: ((String, Cookie)) => Boolean): Map[String, Cookie]
- Definition Classes
- IterableOps → IterableOnceOps
- def elementWise: ElementWiseExtractor[String, Cookie]
- Definition Classes
- PartialFunction
- def empty: CookieMap
- Definition Classes
- CookieMap → 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, Cookie)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(pred: ((String, Cookie)) => Boolean): Map[String, Cookie]
- Definition Classes
- IterableOps → IterableOnceOps
- def filterInPlace(p: (String, Cookie) => Boolean): CookieMap.this.type
- Definition Classes
- MapOps
- def filterNot(pred: ((String, Cookie)) => Boolean): Map[String, Cookie]
- Definition Classes
- IterableOps → IterableOnceOps
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(p: ((String, Cookie)) => Boolean): Option[(String, Cookie)]
- Definition Classes
- IterableOnceOps
- def flatMap[K2, V2](f: ((String, Cookie)) => IterableOnce[(K2, V2)]): Map[K2, V2]
- Definition Classes
- MapOps
- def flatMap[B](f: ((String, Cookie)) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: ((String, Cookie)) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def fold[A1 >: (String, Cookie)](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, (String, Cookie)) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: ((String, Cookie), B) => B): B
- Definition Classes
- IterableOnceOps
- def forall(p: ((String, Cookie)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: ((String, Cookie)) => U): Unit
- Definition Classes
- IterableOnceOps
- def foreachEntry[U](f: (String, Cookie) => U): Unit
- Definition Classes
- MapOps
- def fromSpecific(coll: IterableOnce[(String, Cookie)]): Map[String, Cookie]
- Attributes
- protected
- Definition Classes
- MapFactoryDefaults → IterableOps
- def get(name: String): Option[Cookie]
Fetches the first cookie with the given
name
from this map.Fetches the first cookie with the given
name
from this map.- Definition Classes
- CookieMap → MapOps
- def getAll(name: String): Seq[Cookie]
Fetches all cookies with the given
name
from this map. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrElse[V1 >: Cookie](key: String, default: => V1): V1
- Definition Classes
- MapOps
- def getOrElseUpdate(key: String, op: => Cookie): Cookie
- Definition Classes
- MapOps
- def getValue(name: String): Option[String]
Fetches the value of the first cookie with the given
name
from this map. - def groupBy[K](f: ((String, Cookie)) => K): Map[K, Map[String, Cookie]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: ((String, Cookie)) => K)(f: ((String, Cookie)) => B): Map[K, Iterable[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: ((String, Cookie)) => K)(f: ((String, Cookie)) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[Map[String, Cookie]]
- Definition Classes
- IterableOps
- def hashCode(): Int
- Definition Classes
- Map → AnyRef → Any
- def head: (String, Cookie)
- Definition Classes
- IterableOps
- def headOption: Option[(String, Cookie)]
- Definition Classes
- IterableOps
- def init: Map[String, Cookie]
- Definition Classes
- IterableOps
- def inits: Iterator[Map[String, Cookie]]
- 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 isValid: Boolean
Checks if there was a parse error.
Checks if there was a parse error. Invalid cookies are ignored.
- def iterableFactory: IterableFactory[Iterable]
- Definition Classes
- Iterable → Iterable → IterableOps
- def iterator: Iterator[(String, Cookie)]
Returns an iterator that iterates over all cookies in this map.
Returns an iterator that iterates over all cookies in this map.
- Definition Classes
- CookieMap → IterableOnce
- 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, Cookie)
- Definition Classes
- IterableOps
- def lastOption: Option[(String, Cookie)]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[(String, Cookie), B, CookieMap.this.type]
- Definition Classes
- Iterable
- def lift: (String) => Option[Cookie]
- Definition Classes
- PartialFunction
- def map[K2, V2](f: ((String, Cookie)) => (K2, V2)): Map[K2, V2]
- Definition Classes
- MapOps
- def map[B](f: ((String, Cookie)) => 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, Cookie]) => NewTo): Builder[(String, Cookie), NewTo]
- Definition Classes
- Builder
- def mapValuesInPlace(f: (String, Cookie) => Cookie): CookieMap.this.type
- Definition Classes
- MapOps
- def max[B >: (String, Cookie)](implicit ord: Ordering[B]): (String, Cookie)
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: ((String, Cookie)) => B)(implicit cmp: Ordering[B]): (String, Cookie)
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: ((String, Cookie)) => B)(implicit cmp: Ordering[B]): Option[(String, Cookie)]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: (String, Cookie)](implicit ord: Ordering[B]): Option[(String, Cookie)]
- Definition Classes
- IterableOnceOps
- def min[B >: (String, Cookie)](implicit ord: Ordering[B]): (String, Cookie)
- Definition Classes
- IterableOnceOps
- def minBy[B](f: ((String, Cookie)) => B)(implicit cmp: Ordering[B]): (String, Cookie)
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: ((String, Cookie)) => B)(implicit cmp: Ordering[B]): Option[(String, Cookie)]
- Definition Classes
- IterableOnceOps
- def minOption[B >: (String, Cookie)](implicit ord: Ordering[B]): Option[(String, Cookie)]
- 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, Cookie), Map[String, Cookie]]
- 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 >: Cookie](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
- def partition(p: ((String, Cookie)) => Boolean): (Map[String, Cookie], Map[String, Cookie])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: ((String, Cookie)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def product[B >: (String, Cookie)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def put(key: String, value: Cookie): Option[Cookie]
- Definition Classes
- MapOps
- def reduce[B >: (String, Cookie)](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: (String, Cookie)](op: (B, (String, Cookie)) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: (String, Cookie)](op: (B, (String, Cookie)) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: (String, Cookie)](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: (String, Cookie)](op: ((String, Cookie), B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: (String, Cookie)](op: ((String, Cookie), B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def remove(key: String): Option[Cookie]
- Definition Classes
- MapOps
- def removeAll(cookies: TraversableOnce[String]): Unit
Removes multiple
cookies
from this map. - def removeCookie(name: String): CookieMap.this.type
Deletes all cookies with the given
name
from this map.Deletes all cookies with the given
name
from this map.- Attributes
- protected
- Definition Classes
- CookieMap → CookieMapVersionSpecific
- def removeCookies(xs: TraversableOnce[String]): CookieMap.this.type
- Attributes
- protected
- Definition Classes
- CookieMap → CookieMapVersionSpecific
- def result(): Map[String, Cookie]
- Definition Classes
- MapOps → Builder
- def reversed: Iterable[(String, Cookie)]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def rewriteCookieHeaders(): Unit
- Attributes
- protected
- def runWith[U](action: (Cookie) => U): (String) => Boolean
- Definition Classes
- PartialFunction
- def scan[B >: (String, Cookie)](z: B)(op: (B, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, (String, Cookie)) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: ((String, Cookie), B) => B): Iterable[B]
- Definition Classes
- IterableOps
- 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, Cookie]
- Definition Classes
- IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[Map[String, Cookie]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[Map[String, Cookie]]
- Definition Classes
- IterableOps
- def span(p: ((String, Cookie)) => Boolean): (Map[String, Cookie], Map[String, Cookie])
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (Map[String, Cookie], Map[String, Cookie])
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[(String, Cookie), S]): S
- Definition Classes
- IterableOnce
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- Map → Iterable
- def subtractAll(names: IterableOnce[String]): CookieMap.this.type
- Definition Classes
- CookieMapVersionSpecific → Shrinkable
- def subtractOne(name: String): CookieMap.this.type
- Definition Classes
- CookieMapVersionSpecific → Shrinkable
- def sum[B >: (String, Cookie)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: Map[String, Cookie]
- Definition Classes
- IterableOps
- def tails: Iterator[Map[String, Cookie]]
- Definition Classes
- IterableOps
- def take(n: Int): Map[String, Cookie]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): Map[String, Cookie]
- Definition Classes
- IterableOps
- def takeWhile(p: ((String, Cookie)) => Boolean): Map[String, Cookie]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: ((String, Cookie)) => U): Map[String, Cookie]
- Definition Classes
- IterableOps → IterableOnceOps
- def to[C1](factory: Factory[(String, Cookie), C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: (String, Cookie)](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: (String, Cookie)]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: IndexedSeq[(String, Cookie)]
- Definition Classes
- IterableOnceOps
- final def toIterable: CookieMap.this.type
- Definition Classes
- Iterable → IterableOps
- def toList: List[(String, Cookie)]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[(String, Cookie), (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- def toSeq: Seq[(String, Cookie)]
- Definition Classes
- IterableOnceOps
- def toSet[B >: (String, Cookie)]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- Map → Function1 → Iterable → AnyRef → Any
- def toVector: Vector[(String, Cookie)]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: ((String, Cookie)) => Iterable[B]): Iterable[Iterable[B]]
- Definition Classes
- IterableOps
- def unapply(a: String): Option[Cookie]
- Definition Classes
- PartialFunction
- def unzip[A1, A2](implicit asPair: ((String, Cookie)) => (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: ((String, Cookie)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- IterableOps
- def update(key: String, value: Cookie): Unit
- Definition Classes
- MapOps
- def updateWith(key: String)(remappingFunction: (Option[Cookie]) => Option[Cookie]): Option[Cookie]
- Definition Classes
- MapOps
- def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[Cookie, S]): S
- Definition Classes
- MapOps
- def values: Iterable[Cookie]
- Definition Classes
- MapOps
- def valuesIterator: Iterator[Cookie]
- Definition Classes
- MapOps
- def view: MapView[String, Cookie]
- 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) => Cookie): Map[String, Cookie]
- Definition Classes
- Map
- def withDefaultValue(d: Cookie): Map[String, Cookie]
- Definition Classes
- Map
- def withFilter(p: ((String, Cookie)) => Boolean): WithFilter[String, Cookie, [x]Iterable[x], [x, y]Map[x, y]]
- Definition Classes
- MapFactoryDefaults → IterableOps
- def zip[B](that: IterableOnce[B]): Iterable[((String, Cookie), B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: (String, Cookie), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: Iterable[((String, Cookie), Int)]
- Definition Classes
- IterableOps → IterableOnceOps
Deprecated Value Members
- def +[V1 >: Cookie](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 >: Cookie](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 >: Cookie](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, Cookie)](that: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- final def +=(elem1: (String, Cookie), elem2: (String, Cookie), elems: (String, Cookie)*): CookieMap.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, Cookie]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use -- or removeAll on an immutable Map
- final def -(key: String): Map[String, Cookie]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use - or remove on an immutable Map
- def --(keys: IterableOnce[String]): Map[String, Cookie]
- Definition Classes
- MapOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Consider requiring an immutable Map.
- def -=(elem1: String, elem2: String, elems: String*): CookieMap.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, Cookie)) => 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, Cookie), 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, Cookie)) => 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, Cookie)](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, Cookie]
- 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: (Cookie) => 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, Cookie]
- 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, Cookie) => Boolean): CookieMap.this.type
- Definition Classes
- MapOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use filterInPlace instead
- def seq: CookieMap.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, Cookie)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toStream: Stream[(String, Cookie)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[(String, Cookie)]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use toIterable instead
- final def transform(f: (String, Cookie) => Cookie): CookieMap.this.type
- Definition Classes
- MapOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use mapValuesInPlace instead
- def updated[V1 >: Cookie](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, Cookie)]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)