パッケージ | 説明 |
---|---|
org.springframework.web.bind.annotation | リクエストをコントローラーおよびハンドラーメソッドにバインドするためのアノテーションと、リクエストパラメーターをメソッド引数にバインドするためのアノテーション。 |
org.springframework.web.method | Spring MVC の org.springframework.web.servlet.mvc.method パッケージで使用される、ハンドラーメソッド処理の共通インフラストラクチャ。 |
修飾子と型 | クラスと説明 |
---|---|
interface | RestControllerAdvice @ControllerAdvice および @ResponseBody でアノテーションが付けられている便利なアノテーション。 |
コンストラクターと説明 |
---|
ControllerAdviceBean(StringSE beanName, BeanFactory beanFactory, ControllerAdvice controllerAdvice) |