Document that class-level @ResponseStatus is inherited by @ExceptionHandler methods

Closes gh-27031
This commit is contained in:
Sviatoslav Hryb 2021-06-08 19:39:18 +03:00 committed by GitHub
parent 29fa9c1728
commit aa2bfd4b62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ import org.springframework.http.HttpStatus;
* *
* <p>Note that a controller class may also be annotated with * <p>Note that a controller class may also be annotated with
* {@code @ResponseStatus} and is then inherited by all {@code @RequestMapping} * {@code @ResponseStatus} and is then inherited by all {@code @RequestMapping}
* methods. * and {@code @ExceptionHandler} methods.
* *
* @author Arjen Poutsma * @author Arjen Poutsma
* @author Sam Brannen * @author Sam Brannen