Parameters

Represents HTTP parameters as a map from case-insensitive names to collection of String values

Report a problem

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator fun contains(name: String): Boolean
open fun contains(name: String, value: String): Boolean
Link copied to clipboard
abstract fun entries(): Set<Map.Entry<String, List<String>>>
Link copied to clipboard
open fun forEach(body: (String, List<String>) -> Unit)
Link copied to clipboard

Encode form parameters

Link copied to clipboard

Encode form parameters to the specified out appendable

Link copied to clipboard
open operator fun get(name: String): String?
Link copied to clipboard
abstract fun getAll(name: String): List<String>?
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract fun names(): Set<String>
Link copied to clipboard
operator fun Parameters.plus(other: Parameters): Parameters

Plus operator function that creates a new parameters instance from the original one concatenating with other

Link copied to clipboard

Converts parameters to query parameters by fixing the Parameters.get method to make it return an empty string for the parameters without value (e.g., ?empty)