Mapping request body to IRequestParams subinterfaces, allowing to use them in controller methods:
\@RequestMapping(value = "updateOwnPassword", method = PUT, consumes = { APPLICATION_JSON_VALUE })
\@ResponseStatus(NO_CONTENT)
public void updateOwnPassword(@RequestBody IChangePasswordParams changePasswordParams) {
If RequestBody annotation is present, parameters instance will be created on request's input stream.