クラスの使用
org.springframework.web.server.handler.ResponseStatusExceptionHandler
org.springframework.web.reactive.handler 内の ResponseStatusExceptionHandler 使用
修飾子と型クラス説明class
ResponseStatusException
のインスタンス(基本クラスから継承)を検出する一般的な WebFlux 例外ハンドラーと、それらの HTTP ステータスを判断し、それに応じてレスポンスのステータスを更新することにより、@ResponseStatus
でアノテーション付けされた例外。