Class RoutesEndpoint


  • @Endpoint("routes")
    public class RoutesEndpoint
    extends java.lang.Object

    Exposes an Endpoint to display application routes.

    Since:
    1.0
    See Also:
    HttpMethodMapping
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.reactivestreams.Publisher getRoutes()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RoutesEndpoint

        public RoutesEndpoint​(io.micronaut.web.router.Router router,
                              RouteDataCollector routeDataCollector)
        Parameters:
        router - The Router
        routeDataCollector - The RouteDataCollector
    • Method Detail

      • getRoutes

        @Read
        @SingleResult
        public org.reactivestreams.Publisher getRoutes()
        Returns:
        The routes as a Mono