DelegateWithDefault

Constructors

Link copied to clipboard
constructor(delegate: OptionalStringValueDelegate<T>, defaultValue: T)

Functions

Link copied to clipboard
open operator override fun getValue(thisRef: StringValuesBuilder, property: KProperty<*>): T
Link copied to clipboard
open operator override fun setValue(thisRef: StringValuesBuilder, property: KProperty<*>, value: T)

Inherited functions

Link copied to clipboard

Specifies that this query parameter should only take a single value.

Link copied to clipboard

Adds a default value to the specified delegate. If the string-value has not been set before, defaultValue is returned instead of null.