StringValuesBuilderImpl

open class StringValuesBuilderImpl(val caseInsensitiveName: Boolean = false, size: Int = 8) : StringValuesBuilder

Constructors

Link copied to clipboard
fun StringValuesBuilderImpl(caseInsensitiveName: Boolean = false, size: Int = 8)

Functions

Link copied to clipboard
open override fun append(name: String, value: String)
Link copied to clipboard
open override fun appendAll(stringValues: StringValues)
open override fun appendAll(name: String, values: Iterable<String>)
Link copied to clipboard
open override fun appendMissing(stringValues: StringValues)
open override fun appendMissing(name: String, values: Iterable<String>)
Link copied to clipboard
open override fun build(): StringValues
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open operator override fun contains(name: String): Boolean
open override fun contains(name: String, value: String): Boolean
Link copied to clipboard
open override fun entries(): Set<Map.Entry<String, List<String>>>
Link copied to clipboard
open operator override fun get(name: String): String?
Link copied to clipboard
open override fun getAll(name: String): List<String>?
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open override fun names(): Set<String>
Link copied to clipboard
open override fun remove(name: String)
open override fun remove(name: String, value: String): Boolean
Link copied to clipboard
open override fun removeKeysWithNoEntries()
Link copied to clipboard
open operator override fun set(name: String, value: String)

Properties

Link copied to clipboard
override val caseInsensitiveName: Boolean = false

Extensions

Link copied to clipboard

Append all values from the specified builder

Link copied to clipboard
fun StringValuesBuilder.appendFiltered(source: StringValues, keepEmpty: Boolean = false, predicate: (String, String) -> Boolean)

Append values from source filtering values by the specified predicate

Link copied to clipboard

Appends name pair if there are no values associated with name

Link copied to clipboard

Appends name pair if there is no existing name pair