-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
Andy Wilkinson opened SPR-15934 and commented
Spring Boot provides an Actuator endpoint that aims to list all Spring MVC (or WebFlux) mappings. It's current implementation is rather haphazard in terms of what it does and does not list, and the format in which mappings are listed. Please see some of the comments and concerns raised in spring-projects/spring-boot#9979 for more details.
Would it be possible for Spring MVC and WebFlux to provide a supported API for introspecting DispatcherServlet and DispatcherHandler handler mappings respectively? I think Boot's current implementation could, in some ways, be improved by reflectively accessing DispatcherServlet.handlerMappings and burrowing down from there but that would still be something of a hack.
Affects: 5.0 RC3
Reference URL: spring-projects/spring-boot#9979
Issue Links:
- Provide an API for introspection of a dispatcher handler's handler mappings [SPR-15935] #20489 Provide an API for introspection of a dispatcher handler's handler mappings ("is duplicated by")
- DispatcherHandler no longer orders HandlerMapping beans [SPR-15991] #20541 DispatcherHandler no longer orders HandlerMapping beans