adspace


What is spring responseentity?

Answer Posted / Vikas Kumar Rao

ResponseEntity in Spring MVC is a class that represents the HTTP response, including headers, status code, and body. It can be used to create custom responses or handle exceptions. You can return an instance of ResponseEntity in your controller methods.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lazy class?

490


How can you inject java collection in spring?

518


What is difference between @controller and @restcontroller in spring?

556