未验证 提交 aa2bfd4b 编写于 作者: S Sviatoslav Hryb 提交者: GitHub

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

Closes gh-27031
上级 29fa9c17
...@@ -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 * <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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册