Interface RouteLocator
- All Known Implementing Classes:
CachingRouteLocator, CompositeRouteLocator, RouteDefinitionRouteLocator
public interface RouteLocator
- Author:
- Spencer Gibb
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<Route> default reactor.core.publisher.Flux<Route> getRoutesByMetadata(Map<String, Object> metadata) Gets routes whoseRoute.getId()matches with any of the ids passed by parameters.static boolean
-
Method Details
-
getRoutes
reactor.core.publisher.Flux<Route> getRoutes() -
getRoutesByMetadata
Gets routes whoseRoute.getId()matches with any of the ids passed by parameters. If an ID cannot be found, it will not return a route for that ID. -
matchMetadata
-