Before this change ResponseStatusExceptionResolver always used .sendError despite the javadoc on @ResponseStatus#code. This was perhaps justifiable from a HandlerExceptionResolver. Nevertheless .setStatus should be more REST API friendly while still marking the response as an error. Issue: SPR-11193master
parent
8d7812b1b6
commit
0ef8af4798
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue