Skip to content

getHandlerInternal repeated lookup for HandlerMethod #29591

@ShijunDeng

Description

@ShijunDeng

when spring-boot-starter-actuator imported to my project :

image

there are 6 members in org.springframework.web.reactive.DispatcherHandler#handlerMappings. Part of those HandlerMappings are subclass of org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping, which caused repeated call of org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping#getHandlerInternal to lookup HandlerMethod.

  • AdditionalHealthEndpointPathsWebFluxHandlerMapping

image

  • WebFluxEndpointHandlerMapping

image

  • ControllerEndpointHandlerMapping

image

and so on.

this is my solution: #29589

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions