Interface RouteDataCollector<T>
-
- Type Parameters:
T- The type
- All Known Implementing Classes:
DefaultRouteDataCollector
public interface RouteDataCollector<T>Used to respond with route information used for the
RoutesEndpoint.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<T>getData(java.util.stream.Stream<io.micronaut.web.router.UriRoute> routes)
-
-
-
Method Detail
-
getData
org.reactivestreams.Publisher<T> getData(java.util.stream.Stream<io.micronaut.web.router.UriRoute> routes)
- Parameters:
routes- A java stream of uri routes- Returns:
- A publisher that returns data representing all of the given routes.
-
-