クラスの使用
org.springframework.web.ErrorResponseException
パッケージ
説明
Web データバインディングのサポートクラス。
アノテーションベースのハンドラーメソッド処理のインフラストラクチャ。
Spring の一般的なリアクティブ Web サポートのコアインターフェースとクラス。
org.springframework.web.method.annotation
パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。org.springframework.web.bind.support 内の ErrorResponseException 使用
org.springframework.web.reactive.result.method.annotation 内の ErrorResponseException 使用
修飾子と型メソッド説明protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleErrorResponseException
(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) ErrorResponseException
の処理をカスタマイズします。org.springframework.web.server 内の ErrorResponseException 使用
修飾子と型クラス説明class
レスポンスステータス 405 に適合するエラーの例外(メソッドは許可されません)。class
リクエストヘッダー、Cookie 値、クエリパラメーターなどのリクエスト値の欠落を示すServerWebInputException
サブクラス。class
レスポンスステータス 406 に適合するエラーの例外(受け入れられません)。class
class
失敗したコントローラーメソッド、または解決できなかったコントローラーメソッド引数に関する追加情報を公開するHttpStatus.INTERNAL_SERVER_ERROR
の例外。class
Spring Web アプリケーションで使用するためのレスポンスステータス 400(不良リクエスト)に適合するエラーの例外。class
通常、@Controller
型レベルで@RequestMapping
アノテーションを使用して表現される、満たされていないパラメーター条件を示すServerWebInputException
サブクラス。class
レスポンスステータス 415 に適合するエラーの例外(サポートされていないメディア型)。org.springframework.web.servlet.mvc.method.annotation 内の ErrorResponseException 使用
修飾子と型メソッド説明protected ResponseEntity<ObjectSE>
ResponseEntityExceptionHandler.handleErrorResponseException
(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) ErrorResponseException
の処理をカスタマイズします。