class RoutingResolveContext
Represents a context in which routing resolution is being performed
routing
- root node for resolution to start at
call
- instance of ApplicationCall to use during resolution
RoutingResolveContext(routing: Route, call: ApplicationCall, tracers: List<(RoutingResolveTrace) -> Unit>)
Represents a context in which routing resolution is being performed |
val call: ApplicationCall
instance of ApplicationCall to use during resolution |
|
val hasTrailingSlash: Boolean
Flag showing if path ends with slash |
|
val routing: Route
root node for resolution to start at |
|
val segments: List<String>
List of path segments parsed out of a call |
fun resolve(): RoutingResolveResult
Executes resolution procedure in this context and returns RoutingResolveResult |