Closed
Description
Currently, both MVC's ModelAttributeMethodProcessor
and WebFlux's ModelAttributeMethodArgumentResolver
share similar (though not identical) code for instantiating beans from request parameters:
- MVC's
ModelAttributeMethodProcessor::constructAttribute
- WebFlux's
ModelAttributeMethodArgumentResolver::constructAttribute
We should try to refactor this code into something usable from both MVC and WebFlux, and which can also be used from WebMvc.fn and WebFlux.fn in the future.