io.pedestal.http.route.definition.terse

constraint-map?

dissoc-when

(dissoc-when pred m)

Dissoc those keys from m whose values in m satisfy pred.

expand-constraint

multimethod

Expand into additional nodes which reflect constraints and apply them to specs.

ExpandableVerbAction

protocol

members

expand-verb-action

(expand-verb-action expandable-verb-action)

Expand expandable-verb-action into a verbose-form verb-map.

first-of

(first-of p coll)

flatten-terse-app-routes

(flatten-terse-app-routes route-spec)

Return a vector of maps that are equivalent to the terse routing syntax, but expanded for consumption by the verbose route parser.

interceptor-vector?

map-routes->vec-routes

(map-routes->vec-routes route-map)

Given a map-based route description, return Pedestal’s terse, vector-based routes, with interceptors correctly setup. These generated routes can be consumed by expand-routes

preamble?

terse-routes

(terse-routes route-spec)

valid-handler?