Building a RESTful api with Spring note2
The Default Message Converters

Client-Server Communication – JSON only
1、High Level Content Negotiation

2、@ResponseBody

example

3、RequestBody
example

4、Using Spring’s RestTemplate with Http Message Converters
Retrieving a Resource with application/json Accept header