PathSegmentSelectorBuilder

object PathSegmentSelectorBuilder

Helper object for building instances of RouteSelector from path segments

Functions

parseConstant

fun parseConstant(value: String): RouteSelector

Builds a RouteSelector to match a constant or wildcard segment parameter

parseName

fun parseName(value: String): String

Parses a name out of segment specification

parseParameter

fun parseParameter(value: String): RouteSelector

Builds a RouteSelector to match a path segment parameter with prefix/suffix and a name