Packages

final class QueryParams extends QueryParamsBase

Represents immutable query parameters from a query string (e.g. "?foo=bar&asd=qwe").

This class distinguishes between 3 different types of values for a key:

  • null - "?foo"
  • blank - "?foo="
  • non-blank - "?foo=bar"
Source
QueryParams.scala
Linear Supertypes
QueryParamsBase, SeqOps[(String, String), Seq, QueryParams], IterableOps[(String, String), Seq, QueryParams], IterableOnceOps[(String, String), Seq, QueryParams], IterableOnce[(String, String)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryParams
  2. QueryParamsBase
  3. SeqOps
  4. IterableOps
  5. IterableOnceOps
  6. IterableOnce
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++[B >: (String, String)](suffix: IterableOnce[B]): Seq[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  4. final def ++:[B >: (String, String)](prefix: IterableOnce[B]): Seq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  5. final def +:[B >: (String, String)](elem: B): Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  6. final def :+[B >: (String, String)](elem: B): Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  7. final def :++[B >: (String, String)](suffix: IterableOnce[B]): Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def add(other: QueryParams): QueryParams

    Add multiple key/value pairs

    Add multiple key/value pairs

    returns

    A new QueryParams instance with the added key/value pair

  10. def add(kvPairs: (String, String)*): QueryParams

    Add multiple key/value pairs

    Add multiple key/value pairs

    returns

    A new QueryParams instance with the added key/value pair

  11. def add(key: String, value: String): QueryParams

    Add a key/value pair

    Add a key/value pair

    returns

    A new QueryParams instance with the added key/value pair

  12. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  13. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  14. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    IterableOnceOps
  15. def allKeys: Set[String]

    The unique set of keys with or without values

  16. def appended[B >: (String, String)](elem: B): Seq[B]
    Definition Classes
    SeqOps
  17. def appendedAll[B >: (String, String)](suffix: IterableOnce[B]): Seq[B]
    Definition Classes
    SeqOps
  18. def apply(key: String): Seq[String]

    Returns all values for the given key or throws a NoSuchElementException if the key doesn't exists.

    Returns all values for the given key or throws a NoSuchElementException if the key doesn't exists. An Empty Seq is returned if the key exists but has no non-null values.

  19. def apply(idx: Int): (String, String)
    Definition Classes
    QueryParamsBase → SeqOps
  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  22. def coll: QueryParams
    Attributes
    protected
    Definition Classes
    QueryParamsBase → IterableOps
  23. def collect[B](pf: PartialFunction[(String, String), B]): Seq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  24. def collectFirst[B](pf: PartialFunction[(String, String), B]): Option[B]
    Definition Classes
    IterableOnceOps
  25. def combinations(n: Int): Iterator[QueryParams]
    Definition Classes
    SeqOps
  26. final def concat[B >: (String, String)](suffix: IterableOnce[B]): Seq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  27. def contains(elem: (String, String)): Boolean

    Check for key/value pair existence

  28. def contains(key: String, value: String): Boolean

    Check for key/value pair existence

  29. def contains(key: String): Boolean

    Check for key existence

  30. def contains[A1 >: (String, String)](elem: A1): Boolean
    Definition Classes
    SeqOps
  31. def containsSlice[B](that: Seq[B]): Boolean
    Definition Classes
    SeqOps
  32. def copyToArray[B >: (String, String)](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  33. def copyToArray[B >: (String, String)](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
  34. def copyToArray[B >: (String, String)](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
  35. def corresponds[B](that: Seq[B])(p: ((String, String), B) => Boolean): Boolean
    Definition Classes
    SeqOps
  36. def corresponds[B](that: IterableOnce[B])(p: ((String, String), B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  37. def count(p: ((String, String)) => Boolean): Int
    Definition Classes
    IterableOnceOps
  38. def diff[B >: (String, String)](that: Seq[B]): QueryParams
    Definition Classes
    SeqOps
  39. def distinct: QueryParams
    Definition Classes
    SeqOps
  40. def distinctBy[B](f: ((String, String)) => B): QueryParams
    Definition Classes
    SeqOps
  41. def drop(n: Int): QueryParams
    Definition Classes
    IterableOps → IterableOnceOps
  42. def dropRight(n: Int): QueryParams
    Definition Classes
    IterableOps
  43. def dropWhile(p: ((String, String)) => Boolean): QueryParams
    Definition Classes
    IterableOps → IterableOnceOps
  44. def empty: QueryParams
    Definition Classes
    IterableOps
  45. def endsWith[B >: (String, String)](that: Iterable[B]): Boolean
    Definition Classes
    SeqOps
  46. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. def equals(that: Any): Boolean
    Definition Classes
    QueryParams → AnyRef → Any
  48. def exists(p: ((String, String)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  49. def filter(pred: ((String, String)) => Boolean): QueryParams
    Definition Classes
    IterableOps → IterableOnceOps
  50. def filterKeys(f: (String) => Boolean): QueryParams
  51. def filterNot(pred: ((String, String)) => Boolean): QueryParams
    Definition Classes
    IterableOps → IterableOnceOps
  52. def filterValues(f: (String) => Boolean): QueryParams
  53. def find(p: ((String, String)) => Boolean): Option[(String, String)]
    Definition Classes
    IterableOnceOps
  54. def findLast(p: ((String, String)) => Boolean): Option[(String, String)]
    Definition Classes
    SeqOps
  55. def first(key: String): String

    Returns the first non-null value for the given key or throws a NoSuchElementException if none exists.

  56. def firstNonBlank(key: String): String

    Returns the first non-blank value for the given key or throws a NoSuchElementException if none exists.

  57. def flatMap[B](f: ((String, String)) => IterableOnce[B]): Seq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  58. def flatten[B](implicit asIterable: ((String, String)) => IterableOnce[B]): Seq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  59. def fold[A1 >: (String, String)](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  60. def foldLeft[B](z: B)(op: (B, (String, String)) => B): B
    Definition Classes
    IterableOnceOps
  61. def foldRight[B](z: B)(op: ((String, String), B) => B): B
    Definition Classes
    IterableOnceOps
  62. def forall(p: ((String, String)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  63. def foreach[U](f: ((String, String)) => U): Unit
    Definition Classes
    IterableOnceOps
  64. def fromSpecific(it: IterableOnce[(String, String)]): QueryParams
    Definition Classes
    QueryParamsBase → IterableOps
  65. def get(key: String): Seq[String]

    Returns all values for the given key.

    Returns all values for the given key. An Empty Seq is returns if the key doesn't exist or there are no non-null values.

  66. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  67. def getFirst(key: String): Option[String]

    Optionally Returns the first non-null value for the given key

  68. def getFirstNonBlank(key: String): Option[String]

    Optionally Returns the first non-blank value for the given key

  69. def getNonBlank(key: String): Seq[String]

    Returns all non-blank values for the given key.

    Returns all non-blank values for the given key. An Empty Seq is returns if the key doesn't exist or there are no non-null values.

  70. def groupBy[K](f: ((String, String)) => K): Map[K, QueryParams]
    Definition Classes
    IterableOps
  71. def groupMap[K, B](key: ((String, String)) => K)(f: ((String, String)) => B): Map[K, Seq[B]]
    Definition Classes
    IterableOps
  72. def groupMapReduce[K, B](key: ((String, String)) => K)(f: ((String, String)) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  73. def grouped(size: Int): Iterator[QueryParams]
    Definition Classes
    IterableOps
  74. def hasKey(key: String): Boolean

    Returns true if there is a matching key (which doesn't need to have a value)

  75. def hasKeyWithNonBlankValue(key: String): Boolean

    Returns true if there is a matching key (which also has a non-blank value)

  76. def hasKeyWithValue(key: String, value: String): Boolean

    Returns true if there is a matching key which has the given value

    Returns true if there is a matching key which has the given value

    Note: This is an alias for contains() but seems like a more natural name to use in code.

  77. def hasKeyWithValue(key: String): Boolean

    Returns true if there is a matching key (which also has a value)

    Returns true if there is a matching key (which also has a value)

    NOTE: The value can be blank (e.g. "?foo=" is blank vs "?foo" is null)

  78. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  79. def head: (String, String)
    Definition Classes
    IterableOps
  80. def headOption: Option[(String, String)]
    Definition Classes
    IterableOps
  81. def indexOf[B >: (String, String)](elem: B): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override indexOf(elem, from) instead - indexOf(elem) calls indexOf(elem, 0)", "2.13.0")
  82. def indexOf[B >: (String, String)](elem: B, from: Int): Int
    Definition Classes
    SeqOps
  83. def indexOfSlice[B >: (String, String)](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override indexOfSlice(that, from) instead - indexOfSlice(that) calls indexOfSlice(that, 0)", "2.13.0")
  84. def indexOfSlice[B >: (String, String)](that: Seq[B], from: Int): Int
    Definition Classes
    SeqOps
  85. def indexWhere(p: ((String, String)) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override indexWhere(p, from) instead - indexWhere(p) calls indexWhere(p, 0)", "2.13.0")
  86. def indexWhere(p: ((String, String)) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  87. def indices: Range
    Definition Classes
    SeqOps
  88. def init: QueryParams
    Definition Classes
    IterableOps
  89. def inits: Iterator[QueryParams]
    Definition Classes
    IterableOps
  90. def intersect[B >: (String, String)](that: Seq[B]): QueryParams
    Definition Classes
    SeqOps
  91. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    SeqOps
  92. def isEmpty: Boolean
    Definition Classes
    SeqOps → IterableOnceOps
  93. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  94. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  95. def iterableFactory: IterableFactory[Seq]
    Definition Classes
    QueryParamsBase → IterableOps
  96. def iterator: Iterator[(String, String)]
    Definition Classes
    QueryParamsBase → IterableOnce
  97. def keysWithNonBlankValues: Set[String]

    The unique set of keys with non-blank values

  98. def keysWithValues: Set[String]

    The unique set of keys with non-null values (blank is a valid value)

  99. def keysWithoutValues: Set[String]

    The unique set of keys without values

  100. def knownSize: Int
    Definition Classes
    IterableOnce
  101. def last: (String, String)
    Definition Classes
    IterableOps
  102. def lastIndexOf[B >: (String, String)](elem: B, end: Int): Int
    Definition Classes
    SeqOps
  103. def lastIndexOfSlice[B >: (String, String)](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override lastIndexOfSlice(that, end) instead - lastIndexOfSlice(that) calls lastIndexOfSlice(that, Int.MaxValue)", "2.13.0")
  104. def lastIndexOfSlice[B >: (String, String)](that: Seq[B], end: Int): Int
    Definition Classes
    SeqOps
  105. def lastIndexWhere(p: ((String, String)) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override lastIndexWhere(p, end) instead - lastIndexWhere(p) calls lastIndexWhere(p, Int.MaxValue)", "2.13.0")
  106. def lastIndexWhere(p: ((String, String)) => Boolean, end: Int): Int
    Definition Classes
    SeqOps
  107. def lastOption: Option[(String, String)]
    Definition Classes
    IterableOps
  108. def length: Int
    Definition Classes
    QueryParamsBase → SeqOps
  109. def lengthCompare(that: Iterable[_]): Int
    Definition Classes
    SeqOps
  110. def lengthCompare(len: Int): Int
    Definition Classes
    SeqOps
  111. final def lengthIs: SizeCompareOps
    Definition Classes
    SeqOps
    Annotations
    @inline()
  112. def map[B](f: ((String, String)) => B): Seq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  113. def mapKeys(f: (String) => String): QueryParams
  114. def mapValues(f: (String) => String): QueryParams
  115. def max[B >: (String, String)](implicit ord: Ordering[B]): (String, String)
    Definition Classes
    IterableOnceOps
  116. def maxBy[B](f: ((String, String)) => B)(implicit cmp: Ordering[B]): (String, String)
    Definition Classes
    IterableOnceOps
  117. def maxByOption[B](f: ((String, String)) => B)(implicit cmp: Ordering[B]): Option[(String, String)]
    Definition Classes
    IterableOnceOps
  118. def maxOption[B >: (String, String)](implicit ord: Ordering[B]): Option[(String, String)]
    Definition Classes
    IterableOnceOps
  119. def min[B >: (String, String)](implicit ord: Ordering[B]): (String, String)
    Definition Classes
    IterableOnceOps
  120. def minBy[B](f: ((String, String)) => B)(implicit cmp: Ordering[B]): (String, String)
    Definition Classes
    IterableOnceOps
  121. def minByOption[B](f: ((String, String)) => B)(implicit cmp: Ordering[B]): Option[(String, String)]
    Definition Classes
    IterableOnceOps
  122. def minOption[B >: (String, String)](implicit ord: Ordering[B]): Option[(String, String)]
    Definition Classes
    IterableOnceOps
  123. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  124. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  125. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  126. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  127. def newSpecificBuilder: Builder[(String, String), QueryParams]
    Attributes
    protected[this]
    Definition Classes
    QueryParamsBase → IterableOps
  128. def nonBlank(key: String): Seq[String]

    Returns all non-blank values for the given key or throws a NoSuchElementException if the key doesn't have non-null values.

  129. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
  130. def nonNull(key: String): Seq[String]

    Returns all non-null values for the given key or throws a NoSuchElementException if the key doesn't have non-null values.

  131. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  132. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  133. def occCounts[B](sq: Seq[B]): Map[B, Int]
    Attributes
    protected[collection]
    Definition Classes
    SeqOps
  134. def padTo[B >: (String, String)](len: Int, elem: B): Seq[B]
    Definition Classes
    SeqOps
  135. val params: Seq[(String, String)]
    Attributes
    protected
    Definition Classes
    QueryParams → QueryParamsBase
  136. def partition(p: ((String, String)) => Boolean): (QueryParams, QueryParams)
    Definition Classes
    IterableOps
  137. def partitionMap[A1, A2](f: ((String, String)) => Either[A1, A2]): (Seq[A1], Seq[A2])
    Definition Classes
    IterableOps
  138. def patch[B >: (String, String)](from: Int, other: IterableOnce[B], replaced: Int): Seq[B]
    Definition Classes
    SeqOps
  139. def permutations: Iterator[QueryParams]
    Definition Classes
    SeqOps
  140. def prepended[B >: (String, String)](elem: B): Seq[B]
    Definition Classes
    SeqOps
  141. def prependedAll[B >: (String, String)](prefix: IterableOnce[B]): Seq[B]
    Definition Classes
    SeqOps
  142. def prettyString: String
  143. def product[B >: (String, String)](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  144. def reduce[B >: (String, String)](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  145. def reduceLeft[B >: (String, String)](op: (B, (String, String)) => B): B
    Definition Classes
    IterableOnceOps
  146. def reduceLeftOption[B >: (String, String)](op: (B, (String, String)) => B): Option[B]
    Definition Classes
    IterableOnceOps
  147. def reduceOption[B >: (String, String)](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  148. def reduceRight[B >: (String, String)](op: ((String, String), B) => B): B
    Definition Classes
    IterableOnceOps
  149. def reduceRightOption[B >: (String, String)](op: ((String, String), B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  150. def remove(keys: String*): QueryParams

    Remove a key/value pair based on the key

    Remove a key/value pair based on the key

    returns

    A new QueryParams instance without the keys

  151. def replace(key: String, value: String): QueryParams

    Replaces the entry for the given key only if it was previously mapped to some value.

  152. def reverse: QueryParams
    Definition Classes
    SeqOps
  153. def reverseIterator: Iterator[(String, String)]
    Definition Classes
    SeqOps
  154. def reversed: Iterable[(String, String)]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  155. def sameElements[B >: (String, String)](that: IterableOnce[B]): Boolean
    Definition Classes
    SeqOps
  156. def scan[B >: (String, String)](z: B)(op: (B, B) => B): Seq[B]
    Definition Classes
    IterableOps
  157. def scanLeft[B](z: B)(op: (B, (String, String)) => B): Seq[B]
    Definition Classes
    IterableOps → IterableOnceOps
  158. def scanRight[B](z: B)(op: ((String, String), B) => B): Seq[B]
    Definition Classes
    IterableOps
  159. def search[B >: (String, String)](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    SeqOps
  160. def search[B >: (String, String)](elem: B)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    SeqOps
  161. def segmentLength(p: ((String, String)) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  162. final def segmentLength(p: ((String, String)) => Boolean): Int
    Definition Classes
    SeqOps
  163. final def size: Int
    Definition Classes
    SeqOps → IterableOnceOps
  164. final def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    SeqOps → IterableOps
  165. final def sizeCompare(otherSize: Int): Int
    Definition Classes
    SeqOps → IterableOps
  166. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  167. def slice(from: Int, until: Int): QueryParams
    Definition Classes
    IterableOps → IterableOnceOps
  168. def sliding(size: Int, step: Int): Iterator[QueryParams]
    Definition Classes
    IterableOps
  169. def sliding(size: Int): Iterator[QueryParams]
    Definition Classes
    IterableOps
  170. def sortBy[B](f: ((String, String)) => B)(implicit ord: Ordering[B]): QueryParams
    Definition Classes
    SeqOps
  171. def sortWith(lt: ((String, String), (String, String)) => Boolean): QueryParams
    Definition Classes
    SeqOps
  172. def sorted[B >: (String, String)](implicit ord: Ordering[B]): QueryParams
    Definition Classes
    SeqOps
  173. def span(p: ((String, String)) => Boolean): (QueryParams, QueryParams)
    Definition Classes
    IterableOps → IterableOnceOps
  174. def splitAt(n: Int): (QueryParams, QueryParams)
    Definition Classes
    IterableOps → IterableOnceOps
  175. def startsWith[B >: (String, String)](that: IterableOnce[B], offset: Int): Boolean
    Definition Classes
    SeqOps
  176. def stepper[S <: Stepper[_]](implicit shape: StepperShape[(String, String), S]): S
    Definition Classes
    IterableOnce
  177. def sum[B >: (String, String)](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  178. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  179. def tail: QueryParams
    Definition Classes
    IterableOps
  180. def tails: Iterator[QueryParams]
    Definition Classes
    IterableOps
  181. def take(n: Int): QueryParams
    Definition Classes
    IterableOps → IterableOnceOps
  182. def takeRight(n: Int): QueryParams
    Definition Classes
    IterableOps
  183. def takeWhile(p: ((String, String)) => Boolean): QueryParams
    Definition Classes
    IterableOps → IterableOnceOps
  184. def tapEach[U](f: ((String, String)) => U): QueryParams
    Definition Classes
    IterableOps → IterableOnceOps
  185. def to[C1](factory: Factory[(String, String), C1]): C1
    Definition Classes
    IterableOnceOps
  186. def toArray[B >: (String, String)](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  187. final def toBuffer[B >: (String, String)]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  188. def toIndexedSeq: IndexedSeq[(String, String)]
    Definition Classes
    IterableOnceOps
  189. def toIterable: Iterable[(String, String)]
    Definition Classes
    QueryParamsBase → IterableOps
  190. def toList: List[(String, String)]
    Definition Classes
    IterableOnceOps
  191. def toMap: Map[String, Seq[String]]

    Convert to a Map[String, Seq[String]]

  192. def toMap[K, V](implicit ev: <:<[(String, String), (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  193. def toQueryString(): String

    Create a valid query string using the current parameters (everything after the ?).

    Create a valid query string using the current parameters (everything after the ?).

    e.g.: foo=bar&hello=world

  194. def toSeq: Seq[(String, String)]
    Definition Classes
    IterableOnceOps
  195. def toSet[B >: (String, String)]: Set[B]
    Definition Classes
    IterableOnceOps
  196. def toString(): String

    An alias for toQueryString

    An alias for toQueryString

    Definition Classes
    QueryParams → AnyRef → Any
  197. def toVector: Vector[(String, String)]
    Definition Classes
    IterableOnceOps
  198. def transpose[B](implicit asIterable: ((String, String)) => Iterable[B]): Seq[Seq[B]]
    Definition Classes
    IterableOps
  199. def unzip[A1, A2](implicit asPair: ((String, String)) => (A1, A2)): (Seq[A1], Seq[A2])
    Definition Classes
    IterableOps
  200. def unzip3[A1, A2, A3](implicit asTriple: ((String, String)) => (A1, A2, A3)): (Seq[A1], Seq[A2], Seq[A3])
    Definition Classes
    IterableOps
  201. def updated(kvPairs: (String, String)*): QueryParams

    Update multiple key/value pairs

  202. def updated(other: QueryParams): QueryParams

    Update multiple key/value pairs

  203. def updated(key: String, value: String): QueryParams

    If the key doesn't exist then add it, otherwise replace the first occurance of the key with the new value and remove any other values.

  204. def updated(key: String): QueryParams

    Make sure the key (without a value) exists

  205. def updated[B >: (String, String)](index: Int, elem: B): Seq[B]
    Definition Classes
    SeqOps
  206. def view: SeqView[(String, String)]
    Definition Classes
    SeqOps → IterableOps
  207. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  208. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  209. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  210. def withFilter(p: ((String, String)) => Boolean): WithFilter[(String, String), Seq]
    Definition Classes
    IterableOps
  211. def withLowerKeys: QueryParams

    Convert all keys to lower case

  212. def withPrefixedKeys(prefix: String): QueryParams

    Add a prefix to each key

  213. def withoutBlankValues(): QueryParams

    Remove any params with blank values

    Remove any params with blank values

    returns

    A new QueryParams instance without blank values

  214. def zip[B](that: IterableOnce[B]): Seq[((String, String), B)]
    Definition Classes
    IterableOps
  215. def zipAll[A1 >: (String, String), B](that: Iterable[B], thisElem: A1, thatElem: B): Seq[(A1, B)]
    Definition Classes
    IterableOps
  216. def zipWithIndex: Seq[((String, String), Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. 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 /:

  2. 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 :\

  3. 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. Use foldLeft(z)(seqop) instead.

  4. def companion: IterableFactory[Seq]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

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

  6. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  7. 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)

  8. final def prefixLength(p: ((String, String)) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use segmentLength instead of prefixLength

  9. final def repr: QueryParams
    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

  10. def reverseMap[B](f: ((String, String)) => B): Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)

  11. final def toIterator: Iterator[(String, String)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  12. final def toStream: Stream[(String, String)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  13. final def toTraversable: Traversable[(String, String)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

  14. final def union[B >: (String, String)](that: Seq[B]): Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use concat instead

  15. 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)

Inherited from QueryParamsBase

Inherited from SeqOps[(String, String), Seq, QueryParams]

Inherited from IterableOps[(String, String), Seq, QueryParams]

Inherited from IterableOnceOps[(String, String), Seq, QueryParams]

Inherited from IterableOnce[(String, String)]

Inherited from AnyRef

Inherited from Any

Ungrouped