interface ModelAndViewResolver
SPI for resolving custom return values from a specific handler method. Typically implemented to detect special return types, resolving well-known result values for them. A typical implementation could look like as follows:
|
|
open class ResponseStatusExceptionResolver : AbstractHandlerExceptionResolver, MessageSourceAware
A org.springframework.web.servlet.HandlerExceptionResolver that uses the ResponseStatus annotation to map exceptions to HTTP status codes. This exception resolver is enabled by default in the org.springframework.web.servlet.DispatcherServlet and the MVC Java config and the MVC namespace. As of 4.2 this resolver also looks recursively for As of 5.0 this resolver also supports ResponseStatusException. |