PathVariable
data class PathVariable<P : Any>(val name: String, val codec: StringCodec<P>) : Parameter<P> (source)
Required parameter rendered as a {name} segment inside the path template.
Path variables always remain required because omitting one would change the shape of the URI.
Types
Link copied to clipboard
object Companion : Defaults<PathVariable<Unit>, PathVariable<Boolean>, PathVariable<Byte>, PathVariable<Short>, PathVariable<Int>, PathVariable<Long>, PathVariable<Float>, PathVariable<Double>, PathVariable<BigInteger>, PathVariable<BigDecimal>, PathVariable<String>, PathVariable<UUID>>
Factory helpers for common path variable types.