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