RoutingResolveContext

class RoutingResolveContext

Represents a context in which routing resolution is being performed

Parameters

routing - root node for resolution to start at

call - instance of ApplicationCall to use during resolution

Constructors

<init>

RoutingResolveContext(
    routing: Route,
    call: ApplicationCall,
    tracers: List<(RoutingResolveTrace) -> Unit>)

Represents a context in which routing resolution is being performed

Properties

call

val call: ApplicationCall

instance of ApplicationCall to use during resolution

routing

val routing: Route

root node for resolution to start at

segments

val segments: List<String>

List of path segments parsed out of a call

Functions

resolve

fun resolve(): RoutingResolveResult

Executes resolution procedure in this context and returns RoutingResolveResult