class RoutingResolveTrace
Represents the trace of routing resolution process for diagnostics.
call
- instance of ApplicationCall for which this trace was created.
segments
- list of Strings for each path segment supplied for the routing resolution.
RoutingResolveTrace(call: ApplicationCall, segments: List<String>)
Represents the trace of routing resolution process for diagnostics. |
val call: ApplicationCall
instance of ApplicationCall for which this trace was created. |
|
val segments: List<String>
list of Strings for each path segment supplied for the routing resolution. |
fun begin(route: Route, segmentIndex: Int): Unit
Begins processing a route at segment with segmentIndex in segments. |
|
fun buildText(): String
Builds detailed text description for this trace, including all entries. |
|
fun finish(route: Route, segmentIndex: Int, result: RoutingResolveResult): Unit
Finishes processing a route at segment with segmentIndex in segments with the given result. |
|
fun skip(route: Route, segmentIndex: Int, result: RoutingResolveResult): Unit
Begins and finishes processing a route at segment with segmentIndex in segments with the given result. |
|
fun toString(): String |