QueryParameters

Represents the parameters in a URL query string.

Types

Link copied to clipboard

A mutable builder used to construct QueryParameters instances

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Gets the query parameters as decoded keys/values

Link copied to clipboard

Gets the query parameters as encoded keys/values

Link copied to clipboard

A flag indicating whether to force inclusion of the ? query separator even when there are no parameters (e.g., http://foo.com? vs http://foo.com).

Inherited properties

Link copied to clipboard
open override val entries: Set<Map.Entry<Encodable, List<Encodable>>>
Link copied to clipboard
open override val entryValues: <Error class: unknown class><Map.Entry<K, V>>

Gets a Sequence of key-value pairs. A given key will appear multiple times in the sequence if it is associated with multiple values.

Link copied to clipboard
open override val keys: Set<Encodable>
Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val values: Collection<List<Encodable>>

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Copy the properties of this QueryParameters instance into a new Builder object. Any changes to the builder will not affect this instance.

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
open override fun contains(key: Encodable, value: Encodable): Boolean

Checks if the specified value is present for the given key. Returns false if key is not present or if it is not associated with value.

Link copied to clipboard
open override fun containsKey(key: Encodable): Boolean
Link copied to clipboard
open override fun containsValue(value: List<Encodable>): Boolean
Link copied to clipboard
open operator override fun get(key: Encodable): List<Encodable>?
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard

Returns a mutable copy of this multimap. Changes to the returned mutable multimap do not affect this instance.