RoutingResolveTrace

class RoutingResolveTrace(val call: PipelineCall, val segments: List<String>)

Represents the trace of routing resolution process for diagnostics.

Parameters

call

instance of PipelineCall for which this trace was created.

segments

list of Strings for each path segment supplied for the routing resolution.

Constructors

Link copied to clipboard
constructor(call: PipelineCall, segments: List<String>)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Add candidate for resolving.

Link copied to clipboard
fun begin(route: RouteNode, segmentIndex: Int)

Begins processing a route at segment with segmentIndex in segments.

Link copied to clipboard

Builds detailed text description for this trace, including all entries.

Link copied to clipboard
fun finish(route: RouteNode, segmentIndex: Int, result: RoutingResolveResult)

Finishes processing a route at segment with segmentIndex in segments with the given result.

Link copied to clipboard
Link copied to clipboard
fun skip(route: RouteNode, segmentIndex: Int, result: RoutingResolveResult)

Begins and finishes processing a route at segment with segmentIndex in segments with the given result.

Link copied to clipboard
open override fun toString(): String