Browse Source

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

Closes gh-27031
pull/27042/head
Sviatoslav Hryb 5 years ago committed by GitHub
parent
commit
aa2bfd4b62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spring-web/src/main/java/org/springframework/web/bind/annotation/ResponseStatus.java

2
spring-web/src/main/java/org/springframework/web/bind/annotation/ResponseStatus.java

@ -46,7 +46,7 @@ import org.springframework.http.HttpStatus; @@ -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…
Cancel
Save