StringValuesSingleImpl

open class StringValuesSingleImpl(caseInsensitiveName: Boolean, name: String, values: List<String>) : StringValues

Functions

Link copied to clipboard
open operator override fun contains(name: String): Boolean

Checks if the given name exists in the map

open override fun contains(name: String, value: String): Boolean

Checks if the given name and value pair exists in the map

Link copied to clipboard
open override fun entries(): Set<Map.Entry<String, List<String>>>

Gets all entries from the map

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun forEach(body: (String, List<String>) -> Unit)

Iterates over all entries in this map and calls body for each pair

Link copied to clipboard
open operator override fun get(name: String): String?

Gets first value from the list of values associated with a name, or null if the name is not present

Link copied to clipboard
open override fun getAll(name: String): List<String>?

Gets all values associated with the name, or null if the name is not present

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun isEmpty(): Boolean

Checks if this map is empty

Link copied to clipboard
open override fun names(): Set<String>

Gets all names from the map

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

Properties

Link copied to clipboard
open override val caseInsensitiveName: Boolean

Specifies if map has case-sensitive or case-insensitive names

Link copied to clipboard
val name: String
Link copied to clipboard
val values: List<String>