@RequestMapping( value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE) public void update(@RequestBody User user, @PathVariable("id") int id) { super.update(user, id); }