Skip to content

Resolve new package cycle between web.servlet.handler and web.servlet.function #33381

@jhoeller

Description

@jhoeller

#32689 introduced an instanceof HandlerFunction check in AbstractHandlerMethodExceptionResolver which creates a package cycle between org.springframework.web.servlet.handler and org.springframework.web.servlet.function(.support). Since this is just for identification and not making use of the actual HandlerFunction interface itself, we could detect a marker interface instead - implemented by HandlerFunction but living in the org.springframework.web.servlet parent package - or use an annotation to identify such pass-through handler objects that are supported next to HandlerMethod instances in AbstractHandlerMethodExceptionResolver.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions