StringValuesBuilder

interface StringValuesBuilder

Functions

Link copied to clipboard
abstract fun append(name: String, value: String)
Link copied to clipboard
abstract fun appendAll(stringValues: StringValues)
abstract fun appendAll(name: String, values: Iterable<String>)
Link copied to clipboard
abstract fun appendMissing(stringValues: StringValues)
abstract fun appendMissing(name: String, values: Iterable<String>)
Link copied to clipboard
abstract fun build(): StringValues
Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract operator fun contains(name: String): Boolean
abstract fun contains(name: String, value: String): Boolean
Link copied to clipboard
abstract fun entries(): Set<Map.Entry<String, List<String>>>
Link copied to clipboard
abstract 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
abstract fun remove(name: String)
abstract fun remove(name: String, value: String): Boolean
Link copied to clipboard
abstract fun removeKeysWithNoEntries()
Link copied to clipboard
abstract operator fun set(name: String, value: String)

Properties

Link copied to clipboard
abstract val caseInsensitiveName: Boolean

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
fun StringValuesBuilder.appendAll(builder: StringValuesBuilder): StringValuesBuilder

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
fun StringValuesBuilder.appendIfNameAbsent(name: String, value: String): StringValuesBuilder

Appends name pair if there are no values associated with name

Link copied to clipboard
fun StringValuesBuilder.appendIfNameAndValueAbsent(name: String, value: String): StringValuesBuilder

Appends name pair if there is no existing name pair