Allow access to named sections of a multipart request body [SPR-8483] #13129
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
nebhale opened SPR-8483 and commented
Currently when a multipart request is received via a
POST
call, the only way to reference the sections of that request is by using the@ReqestParam(<name>)
annotation to get the body content. The content that you might get is then limited as it can only be converted to simple types (it doesn't go through theConversionService
) and you must do any conversion yourself.Ideally, it'd be nice to have an
@RequestPart(<name>)
annotation that would allow you to reference the sections of the request and the values there would go through standard@RequestBody
processing for things likeConversionService
conversion and@Valid
validation.Affects: 3.1 M2
Issue Links:
Referenced from: commits 3a87d8e, 3363d05, f4b7cfe
The text was updated successfully, but these errors were encountered: