I have a Controller like this and I want to submit a form with file uploading as well as some form data like label as shown below. Also, I want to do that using @RequestBody
For Spring 4 and later you can do the following to get the full object:
public ResponseEntity upload(@Payload EUPSettingsWrapper wrapper) { }
Note: Also should work without the tag
public ResponseEntity upload(EUPSettingsWrapper wrapper) { }