Document that class-level @ResponseStatus is inherited by @ExceptionHandler methods
Closes gh-27031
This commit is contained in:
parent
29fa9c1728
commit
aa2bfd4b62
|
|
@ -46,7 +46,7 @@ import org.springframework.http.HttpStatus;
|
|||
*
|
||||
* <p>Note that a controller class may also be annotated with
|
||||
* {@code @ResponseStatus} and is then inherited by all {@code @RequestMapping}
|
||||
* methods.
|
||||
* and {@code @ExceptionHandler} methods.
|
||||
*
|
||||
* @author Arjen Poutsma
|
||||
* @author Sam Brannen
|
||||
|
|
|
|||
Loading…
Reference in New Issue