mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 08:59:09 +00:00
Document that class-level @ResponseStatus is inherited by @ExceptionHandler methods
Closes gh-27031
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user