final case class QueryParams(map: Map[String, Chunk[String]]) extends Product with Serializable

A collection of query parameters.

Self Type
QueryParams
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryParams
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new QueryParams(map: Map[String, Chunk[String]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ++(that: QueryParams): QueryParams

    Combines two collections of query parameters together.

    Combines two collections of query parameters together. If there are duplicate keys, the values from both sides are preserved, in order from left-to-right.

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def add(key: String, value: String): QueryParams

    Adds the specified key/value pair to the query parameters.

  6. def addAll(key: String, value: Chunk[String]): QueryParams

    Adds the specified key/value pairs to the query parameters.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. def encode(charset: Charset): String

    Encodes the query parameters into a string using the specified charset.

  10. def encode: String

    Encodes the query parameters into a string.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(that: Any): Boolean
    Definition Classes
    QueryParams → Equals → AnyRef → Any
  13. def filter(p: (String, Chunk[String]) => Boolean): QueryParams

    Filters the query parameters using the specified predicate.

  14. def get(key: String): Option[String]

    Retrieves the first query parameter value having the specified name.

  15. def getAll(key: String): Option[Chunk[String]]

    Retrieves all query parameter values having the specified name.

  16. def getAllAs[A](key: String)(implicit codec: TextCodec[A]): Either[QueryParamsError, Chunk[A]]

    Retrieves all typed query parameter values having the specified name.

  17. def getAllAsOrElse[A](key: String, default: => Iterable[A])(implicit codec: TextCodec[A]): Chunk[A]

    Retrieves all query parameter values having the specified name, or else uses the default iterable.

  18. def getAllAsZIO[A](key: String)(implicit codec: TextCodec[A]): IO[QueryParamsError, Chunk[A]]

    Retrieves all typed query parameter values having the specified name as ZIO.

  19. def getAllOrElse(key: String, default: => Iterable[String]): Chunk[String]

    Retrieves all query parameter values having the specified name, or else uses the default iterable.

  20. def getAs[A](key: String)(implicit codec: TextCodec[A]): Either[QueryParamsError, A]

    Retrieves the first typed query parameter value having the specified name.

  21. def getAsOrElse[A](key: String, default: => A)(implicit codec: TextCodec[A]): A

    Retrieves the first typed query parameter value having the specified name, or else uses the default value.

  22. def getAsZIO[A](key: String)(implicit codec: TextCodec[A]): IO[QueryParamsError, A]

    Retrieves the first typed query parameter value having the specified name as ZIO.

  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. def getOrElse(key: String, default: => String): String

    Retrieves the first query parameter value having the specified name, or else uses the default value.

  25. def hashCode(): Int
    Definition Classes
    QueryParams → AnyRef → Any
  26. def isEmpty: Boolean

    Determines if the query parameters are empty.

  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val map: Map[String, Chunk[String]]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def nonEmpty: Boolean

    Determines if the query parameters are non-empty.

  31. def normalize: QueryParams

    Normalizes the query parameters by removing empty keys and values.

  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. def remove(key: String): QueryParams

    Removes the specified key from the query parameters.

  36. def removeAll(keys: Iterable[String]): QueryParams

    Removes the specified keys from the query parameters.

  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toForm: Form

    Converts the query parameters into a form.

  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped