abstract class Query extends AnyRef

Source
Query.java
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Query
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Query()

Abstract Value Members

  1. abstract def get(key: String): Optional[String]

    Returns the value of the first parameter with the given key if it exists.

  2. abstract def getAll(key: String): List[String]

    Returns the value of all parameters with the given key.

  3. abstract def getOrElse(key: String, _default: String): String

    Returns the value of the first parameter with the given key or the provided default value.

  4. abstract def render(charset: HttpCharset, keep: CharPredicate): String

    Renders this Query into its string representation using the given charset and char predicate.

  5. abstract def render(charset: HttpCharset): String

    Renders this Query into its string representation using the given charset.

  6. abstract def toList(): List[Pair[String, String]]

    Returns a List of all parameters of this Query.

    Returns a List of all parameters of this Query. Use the toMap() method to filter out entries with duplicated keys.

  7. abstract def toMap(): Map[String, String]

    Returns a key/value map of the parameters of this Query.

    Returns a key/value map of the parameters of this Query. Use the toList() method to return all parameters if keys may occur multiple times.

  8. abstract def toMultiMap(): Map[String, List[String]]

    Returns a Map of all parameters of this Query.

    Returns a Map of all parameters of this Query. Use the toMap() method to filter out entries with duplicated keys.

  9. abstract def withParam(key: String, value: String): Query

    Returns a copy of this instance with a query parameter added.