0 votes
in Spring by

Can we send an Object as the response of Controller handler method?

1 Answer

0 votes
by

Yes we can, using @ResponseBody annotation. This is how we send JSON or XML based response in restful web services.

...