:id
attribute (in route, later associated with :handler
) basedparams-key
instead of looking up route spec
params-key
in calfpath.route/make-uri-matcher
- no route spec lookupcalfpath.route/compile-routes
:split-params?
and :uri-params-key
:params-key
MatchResult.fullMatch()
in favour of MatchResult.FULL_MATCH_NO_PARAMS
Util.matchURI()
) to hold only as many params as likelycalfpath.route/make-routes
to calfpath.route/compile-routes
:uri-params <request-key>
to route)
calfpath.route/make-uri-matcher
arity - accept an extra argument uri-params-key
lift-key-middleware
accept lift-keys
collection instead of single lift-key
calfpath.route/compile-routes
:uri-params-key
to find out where to place URI params in the request map:uri-params-val
to specify where to place URI params in the request map:split-params?
to determine whether to split URI params under a separate key in request map:trailing-slash
to specify action to perform with trailing slash (:add
or :remove
) to URI patternsconj
bug in Aleph (0.4.4) and Immutant (2.1.10) requests
identical?
instead of =
calfpath.route/assoc-kv-middleware
- associate key/value pairs corresponding to a main key in a routecalfpath.route/trailing-slash-middleware
- drop or add trailing slash to non-partial URI matchersnil
ring-handler-middleware
*
suffixcalfpath.route/update-in-each-route
to apply route attribute wrapper to specscalfpath.route/lift-key-middleware
to split routes with mixed specscalfpath.route/ring-handler-middleware
to wrap Ring handlers into route handlerscalfpath.route/make-routes
to build routes from given route specscalfpath.core/->uri
calfpath.route/update-fallback-400
to add fallback 400 route on one or more URI entry, instead of allcalfpath.core/make-uri-handler
in favor of Calfpath routesPATCH
HTTP methodCan you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close