in Technology by
What is HttpMessageConverter in terms of Spring REST?

1 Answer

0 votes
by
HttpMessageConverter is a strategic interface that specified a converter for conversion between HTTP Requests and responses. Spring REST uses the HttpMessageConverter for converting responses to various data formats like JSON, XML, etc. Spring makes use of the “Accept” header for determining the type of content the client expects. Based on this, Spring would find the registered message converter interface that is capable of this conversion.

Related questions

0 votes
    Annotation used for Rest Controller? 1. @SpringBootApplication 2. @RestController 3. @Controller 4. All of the Above...
asked Jul 8, 2021 in Technology by JackTerrance
0 votes
    Is it possible to maintain sessions in REST on the server-side? 1. No 2. Yes 3. Depends on situation 4. I don’t know...
asked Jun 24, 2021 in Technology by JackTerrance
0 votes
    What method should be used to obtain a list of supported operations in REST services? 1. GET 2. DELETE 3. HEAD 4. OPTION...
asked Jun 24, 2021 in Technology by JackTerrance
0 votes
    Which of the following options are true for REST Services? 1. Each resource can be identified by multiple URIs. 2. REST ... server provides access to them. 4. All of the above....
asked Jun 24, 2021 in Technology by JackTerrance
0 votes
    What protocol does REST follow? FTP HTTP SFTP FTPS...
asked Jun 24, 2021 in Technology by JackTerrance
0 votes
    Can we implement transport layer security (TLS) in REST?...
asked Jun 23, 2021 in Technology by JackTerrance
0 votes
    What are the differences between web sockets as well as REST?...
asked Jun 23, 2021 in Technology by JackTerrance
0 votes
    Which type of web services you need to use - SOAP or REST?...
asked Jun 23, 2021 in Technology by JackTerrance
0 votes
    What makes REST services to be easily scalable?...
asked Jun 23, 2021 in Technology by JackTerrance
0 votes
    What is the concept of statelessness in REST?...
asked Jun 22, 2021 in Technology by JackTerrance
0 votes
0 votes
0 votes
    Which of the following tag represents a piece of content that is only slightly related to the rest of the page in HTML5? A - section B - article C - aside D - header...
asked Dec 1, 2020 in Technology by JackTerrance
0 votes
    How can you expose an Apex class as a REST WebService in Salesforce?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    What HTTP Status Code 409 states in REST?...
asked Nov 7, 2020 in Technology by JackTerrance
...