I want to add JsonView functionality to control input of my application. And I find that I can use this annotation with RequestBody in Spring 4.1.0.RELEASE but get error this annotation not allowed here
public ResponseEntity<User> update(@RequestHeader(value="Access-key") String accessKey,
@RequestHeader(value="Secret-key") String secretKey,
@JsonView(View.Summary.class) @RequestBody User user) throws Exception{
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments