クラスの使用
org.springframework.http.ProblemDetail
ProblemDetail を使用するパッケージ
パッケージ
説明
クライアント / サーバー側 HTTP の基本的な抽象化が含まれています。
Spring の Web インフラストラクチャと他のフレームワークモジュール間の最小境界点を定義する一般的な汎用インターフェース。
Web 固有のデータバインディング機能を提供します。
非同期リクエスト処理のサポート。
ファイルのアップロードを処理するためのマルチパート解決フレームワーク。
マルチパート解決フレームワークのサポートクラス。
アノテーションベースのハンドラーメソッド処理のインフラストラクチャ。
Spring の一般的なリアクティブ Web サポートのコアインターフェースとクラス。
アプリケーションコンテキストインフラストラクチャと統合するサーブレット、および Spring Web MVC フレームワークのコアインターフェースとクラスを提供します。
org.springframework.web.method.annotation パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。 静的リソースを提供するためのサポートクラス。
org.springframework.http 内の ProblemDetail 使用
ProblemDetail を返す org.springframework.http のメソッド修飾子と型メソッド説明static ProblemDetailProblemDetail.forStatus(int status) 指定されたステータス値でProblemDetailインスタンスを作成します。static ProblemDetailProblemDetail.forStatus(HttpStatusCode status) 指定されたステータスコードでProblemDetailインスタンスを作成します。static ProblemDetailProblemDetail.forStatusAndDetail(HttpStatusCode status, StringSE detail) 指定されたステータスと詳細でProblemDetailインスタンスを作成します。型 ProblemDetail のパラメーターを持つ org.springframework.http のメソッド型 ProblemDetail のパラメーターを持つ org.springframework.http のコンストラクター修飾子コンストラクター説明protectedProblemDetail(ProblemDetail other) サブクラスが追加のプロパティでProblemDetailを再作成および拡張するために使用できるコピーコンストラクター。org.springframework.web 内の ProblemDetail 使用
ProblemDetail を返す org.springframework.web のメソッド修飾子と型メソッド説明ErrorResponse.getBody()レスポンスの本文を返します。これは、statusがレスポンスステータスと一致する RFC 9457ProblemDetailとしてフォーマットされます。final ProblemDetailErrorResponseException.getBody()レスポンスのボディを返します。HttpMediaTypeException.getBody()HttpRequestMethodNotSupportedException.getBody()default ProblemDetailErrorResponse.updateAndGetBody(MessageSource messageSource, LocaleSE locale) 指定されたMessageSourceを使用してtype、title、detailメッセージコードを解決し、解決された値を使用してErrorResponse.getBody()の対応するフィールドを更新します。型 ProblemDetail のパラメーターを持つ org.springframework.web のメソッド修飾子と型メソッド説明static ErrorResponse.BuilderErrorResponse.builder(ThrowableSE ex, ProblemDetail problemDetail) カスタムProblemDetailインスタンスで使用するErrorResponse.builder(Throwable, HttpStatusCode, String)のバリアント。voidErrorResponse.Interceptor.handleError(ProblemDetail detail, ErrorResponse errorResponse) レンダリングされる指定されたProblemDetailと、該当する場合はその元のErrorResponseを処理します。型 ProblemDetail のパラメーターを持つ org.springframework.web のコンストラクター修飾子コンストラクター説明ErrorResponseException(HttpStatusCode status, ProblemDetail body, ThrowableSE cause) 拡張フィールドを持つProblemDetailのサブクラスである可能性がある、特定のProblemDetailインスタンスを持つコンストラクター。ErrorResponseException(HttpStatusCode status, ProblemDetail body, ThrowableSE cause, StringSE messageDetailCode, ObjectSE[] messageDetailArguments) 指定されたProblemDetail、および詳細メッセージを解決するためのMessageSourceコードと引数を持つコンストラクター。org.springframework.web.bind 内の ProblemDetail 使用
ProblemDetail を返す org.springframework.web.bind のメソッドorg.springframework.web.context.request.async 内の ProblemDetail 使用
org.springframework.web.multipart 内の ProblemDetail 使用
org.springframework.web.multipart.support 内の ProblemDetail 使用
修飾子と型メソッド説明MissingServletRequestPartException.getBody()レスポンスの本文を返します。これは、statusがレスポンスステータスと一致する RFC 9457ProblemDetailとしてフォーマットされます。org.springframework.web.reactive.result.method.annotation 内の ProblemDetail 使用
修飾子と型メソッド説明protected ProblemDetailResponseEntityExceptionHandler.createProblemDetail(ExceptionSE ex, HttpStatusCode status, StringSE defaultDetail, StringSE detailMessageCode, ObjectSE[] detailMessageArguments, ServerWebExchange exchange) 型 ProblemDetail のパラメーターを持つ org.springframework.web.reactive.result.method.annotation のメソッド修飾子と型メソッド説明protected voidAbstractMessageWriterResultHandler.invokeErrorResponseInterceptors(ProblemDetail detail, ErrorResponse errorResponse) 構成されたErrorResponse.Interceptorを呼び出します。org.springframework.web.server 内の ProblemDetail 使用
ProblemDetail を返す org.springframework.web.server のメソッド修飾子と型メソッド説明ResponseStatusException.updateAndGetBody(MessageSource messageSource, LocaleSE locale) org.springframework.web.servlet 内の ProblemDetail 使用
ProblemDetail を返す org.springframework.web.servlet のメソッドorg.springframework.web.servlet.mvc.method.annotation 内の ProblemDetail 使用
修飾子と型メソッド説明protected ProblemDetailResponseEntityExceptionHandler.createProblemDetail(ExceptionSE ex, HttpStatusCode status, StringSE defaultDetail, StringSE detailMessageCode, ObjectSE[] detailMessageArguments, WebRequest request) 型 ProblemDetail のパラメーターを持つ org.springframework.web.servlet.mvc.method.annotation のメソッド修飾子と型メソッド説明protected voidAbstractMessageConverterMethodProcessor.invokeErrorResponseInterceptors(ProblemDetail detail, ErrorResponse errorResponse) 構成されたErrorResponse.Interceptorを呼び出します。org.springframework.web.servlet.resource 内の ProblemDetail 使用