映射 (mappings)
原文:https://docs.spring.io/spring-boot/api/rest/actuator/mappings.html
mappings 端点显示应用中所有 @RequestMapping 路径的整理列表。
检索映射
向 /actuator/mappings 发出 GET 请求:
$ curl 'http://localhost:8080/actuator/mappings' -i -X GET
响应按上下文组织,包含 handlerMappings。每个 handler mapping 包含其名称以及 children 映射,每个映射项包含:
handler:handler 方法或 bean 名称。predicate:匹配条件。details:详细信息,如requestMappingConditions(方法、路径、consumes、produces、headers、params)和handlerMethod(bean、method)。