(matching-route-map routes)

Given the full sequence of route-maps, return a single map, keyed by path, whose value is a function matching on the req. The function takes a request, matches criteria and constraints, and returns the most specific match. This function only processes the routes if all routes are static.


(router routes)

Given a sequence of routes, return a router which satisfies the io.pedestal.http.route.router/Router protocol.