Skip to content

Adapt the existing WebArgumentResolver to the new HandlerMethodArgumentResolver interface from the MVC namespace [SPR-8234] #12882

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-8234 and commented

  1. MVC namespace to accept both existing and new interfaces wrapping existing interfaces with adapters
  2. RequestMappingHandlerMethodAdapter and RequestMappingHandlerMethodExceptionResolver to accept custom resolvers and handlers in the new interfaces only - i.e. HandlerMethodArgumentResolvers and HandlerMethodReturnValueHandlers
  3. A property to support custom ModelAndViewResolvers is still required since those can not be adapted and can only be invoked at the end (i.e. when no other HandlerMethodReturnValueHandlers supports the return value type) by the DefaultMethodReturnValueHandler.

Affects: 3.1 M1

This issue is a sub-task of #12864

Referenced from: commits 23e37b6, 313546a

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