Package io.micronaut.web.router.filter
Interface RouteMatchFilter
- All Known Subinterfaces:
VersionRouteMatchFilter
- All Known Implementing Classes:
RouteVersionFilter
public interface RouteMatchFilter
A filter responsible for filtering route matches.
- Since:
- 1.1.0
- Author:
- Bogdan Oros
-
Method Summary
Modifier and TypeMethodDescription<T,R> Predicate<UriRouteMatch<T, R>> filter(HttpRequest<?> request) A method responsible for filtering route matches based on request.
-
Method Details
-
filter
A method responsible for filtering route matches based on request.- Type Parameters:
T- The target typeR- The result type- Parameters:
request- The HTTP request- Returns:
- A filtered list of route matches
-