Skip to content

Provide an API for introspection of a dispatcher handler's handler mappings [SPR-15935] #20489

@spring-projects-issues

Description

@spring-projects-issues

Andy Wilkinson opened SPR-15935 and commented

Spring Boot provides an Actuator endpoint that aims to list all Spring MVC mappings. We'd like to also offer something similar for WebFlux. To that end, and in the same vein as #20488 for Spring MVC, would it be possible for WebFlux to provide a supported API for introspecting a dispatcher handler's handler mappings?

As with MVC, I suspect there may be some mileage in reflectively accessing DispatcherHandler.handerMappings and burrowing down from there but that's a hack and I suspect would be impeded by the "loss" of mapping information in composed router functions (#20487).


Affects: 5.0 RC3

Reference URL: spring-projects/spring-boot#9979

Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issuetype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions