NamedValuePropertyProvider
interface NamedValuePropertyProvider<T> : PropertyDelegateProvider<StringValuesBuilder, NamedValueProperty<T>> (source)
A PropertyDelegateProvider that provides NamedValueProperty instances.
Inheritors
Inherited functions
Link copied to clipboard
abstract operator fun provideDelegate(thisRef: StringValuesBuilder, property: KProperty<*>): NamedValueProperty<T>
Link copied to clipboard
Specifies that this query parameter should only take a single value.
Link copied to clipboard
fun <T> OptionalStringValueDelegateProvider<T>.withDefault(defaultValue: T): DefaultStringValueDelegateProvider<T>
Adds a default value to the specified delegate. If the string-value has not been set before, defaultValue is returned instead of null.