5 Commits

Author SHA1 Message Date
Spencer Gibb
55b3cd0c51 Fixes routing issue with path filters and static uri (#3747)
* Fixes routing issue with path filters and static uri

The problem arises from when MvcUtils.setRequestUrl is called depending on if the route was created via config, using `http(uri)` or having it set in a before filter.

To fix this, the uri is now always set in a before filter and the `http(uri)` methods are deprecated in favor of a BeforeFilterFunctions.uri() method.

A new DefaultHandlerSupplier was created to use an updated HandlerDiscoverer.Result that has fields for lowerPrecedenceFilters and higherPrecedenceFilters as the `http()` family of Handler methods need associated filters.

This results in a more consistent handling of the request url attribute.

Existing methods and constructors are deprecated.

Fixes gh-3736
2025-03-28 14:59:19 -04:00
sgibb
eb312e1c07 Polishing gh-3223 adds route method to static import 2024-03-08 12:34:46 -05:00
tungj
35c530e59b Fix documentation sample imports and missing .build() call (#3223)
* Fix javadoc sample imports and missing .build() call

* Correct static import and missing .build() in second example
2024-03-08 12:33:18 -05:00
sgibb
ff98d6298c Initial documentation.
Includes general documentation and most filters.

TODO: request predicates and custome dev docs.
2023-12-04 15:39:59 -05:00
sgibb
d533ae7583 More basic mvc documentation 2023-09-29 13:36:33 -04:00