Status controllers allow easily to define some URL that should send a response with a specified status code.
For non redirect status controllers, it is possible to specify a reason or a view to display. For redirect status controllers, a redirect path is specified and a flag allows to control if the query string of the original request should be added to the redirect one.
For configuration, both XML MVC namespace and JavaConfig are provided.
Issue: SPR-11543
Comment From: rstoyanchev
The approach taken instead enhances the existing view controller with the ability to also configure a status code. This is a simple and natural extension on its own but turns out it also goes quite far in meeting the requirements for SPR-11543.