Httpmessageconverter is a strategic interface that distinctive a converter for conversion between http requests and responses. Spring rest makes use of the httpmessageconverter for changing responses to various statistics formats like json, xml, and many others. Spring makes use of the “be given” header for determining the type of content material the customer expects. Based on this, spring might locate the registered message converter interface that is capable of this conversion.