October 2018
Intermediate to advanced
982 pages
23h 29m
English
While we were building our RESTful web data service, we defined the controllers, repositories, and put some annotations on them; but nowhere did we do any kind of object translation from the Java entity beans to the HTTP data stream output. However, behind the scenes, Spring Boot automatically configured HttpMessageConverters so as to translate our entity beans into a JSON representation written to HTTP response using the Jackson library. When multiple converters are available, the most applicable one gets selected based on the message object class and the requested content type.
The purpose of HttpMessageConverters is to translate various object types into their corresponding HTTP output formats. ...
Read now
Unlock full access