So far in my experience with Spring I have mainly seen ResponseEntity return types for controllers. However, I have seen ModelAndView return types. Why would someone use ModelAndView over ResponseEntity or vice versa?
In other words, what are the benefits and negatives of either, as I can't really find a comparison of such online?