Builder
A mutable builder used to construct QueryParameters instances
Constructors
Initialize an empty QueryParameters builder
Properties
Gets the query parameters as decoded keys/values. Changes to this map are reflected in the encodedParameters map as well.
Gets the query parameters as encoded keys/values. Changes to this map are reflected in the decodedParameters map as well.
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
Gets a Sequence of key-value pairs. A given key will appear multiple times in the sequence if it is associated with multiple values. This sequence lazily enumerates over keys and values in the multimap and may reflect changes which occurred after the iteration began.
Functions
Build a new QueryParameters from the currently-configured builder values
Copies the state from other into this builder. All existing state is overwritten.
Applies the given DSL block to the decoded query parameters. Changes to this map are reflected in the encodedParameters map as well.
Applies the given DSL block to the encoded query parameters. Changes to this map are reflected in the decodedParameters map as well.
Inherited functions
Adds all the key-value associations from another map into this one. This will append to the existing associations, not merge or deduplicate. This operation copies from the given values lists. Later changes to those lists do not affect this collection.
Returns a new read-only multimap containing all the key-value associations from this multimap