mixinafBedSheet::RouteMatcher

afBedSheet::RouteMatcher

A RouteMatcher checks to see if a given Route Obj matches a request. It should return a RouteMatch if successful and null if not.

RouteMatchers must be contributed to RouteMatcherSource. A RouteMatcher will only be called with Routes it has been registered with.

match

Source

abstract RouteMatch? match(Obj route, Uri uri, Str httpMethod)

Match this route (optionally) against the given request arguments. Return null if no match.