class Athena::Routing::Matcher::TraceableURLMatcher
inherits Athena::Routing::Matcher::URLMatcher
#
Extension of ART::Matcher::URLMatcher
to assist with debugging by tracing the match.
See #traces
.
Constructors#
.new(routes : ART::RouteCollection, context : ART::RequestContext, route_provider : ART::RouteProvider.class = ART::RouteProvider)
#
Methods#
#traces(path : String) : Array(ART::Matcher::TraceableURLMatcher::Trace)
#
Returns an array of ART::Matcher::TraceableURLMatcher::Trace
representing the history of the matching logic when trying to match the provided path.
#traces(request : ART::Request) : Array(ART::Matcher::TraceableURLMatcher::Trace)
#
Returns an array of ART::Matcher::TraceableURLMatcher::Trace
representing the history of the matching logic when trying to match the provided request.