クラスの使用
org.springframework.boot.web.error.ErrorAttributeOptions
ErrorAttributeOptions を使用するパッケージ
パッケージ
説明
Spring Web エラー処理インフラストラクチャ。
Spring WebFlux エラー処理の自動構成。
Spring WebFlux エラー処理インフラストラクチャ。
Spring MVC エラー処理の自動構成。
Spring MVC エラー処理インフラストラクチャ。
org.springframework.boot.web.error 内の ErrorAttributeOptions 使用
修飾子と型メソッド説明static ErrorAttributeOptionsErrorAttributeOptions.defaults()デフォルトでErrorAttributeOptionsを作成します。ErrorAttributeOptions.excluding(ErrorAttributeOptions.Include... excludes) 指定された属性ErrorAttributeOptions.Includeオプションを除外するErrorAttributeOptionsを返します。ErrorAttributeOptions.including(ErrorAttributeOptions.Include... includes) 指定された属性ErrorAttributeOptions.Includeオプションを含むErrorAttributeOptionsを返します。static ErrorAttributeOptionsErrorAttributeOptions.of(CollectionSE<ErrorAttributeOptions.Include> includes) 指定された属性ErrorAttributeOptions.Includeオプションを含むErrorAttributeOptionsを作成します。static ErrorAttributeOptionsErrorAttributeOptions.of(ErrorAttributeOptions.Include... includes) 指定された属性ErrorAttributeOptions.Includeオプションを含むErrorAttributeOptionsを作成します。org.springframework.boot.webflux.autoconfigure.error 内の ErrorAttributeOptions 使用
修飾子と型メソッド説明protected ErrorAttributeOptionsDefaultErrorWebExceptionHandler.getErrorAttributeOptions(ServerRequest request, MediaType mediaType) 型 ErrorAttributeOptions のパラメーターを持つ org.springframework.boot.webflux.autoconfigure.error のメソッド修飾子と型メソッド説明AbstractErrorWebExceptionHandler.getErrorAttributes(ServerRequest request, ErrorAttributeOptions options) 現在のリクエストからエラー属性を抽出し、エラービューまたは JSON ペイロードの入力に使用します。org.springframework.boot.webflux.error 内の ErrorAttributeOptions 使用
型 ErrorAttributeOptions のパラメーターを持つ org.springframework.boot.webflux.error のメソッド修飾子と型メソッド説明DefaultErrorAttributes.getErrorAttributes(ServerRequest request, ErrorAttributeOptions options) ErrorAttributes.getErrorAttributes(ServerRequest request, ErrorAttributeOptions options) エラー属性のMapSE を返します。org.springframework.boot.webmvc.autoconfigure.error 内の ErrorAttributeOptions 使用
修飾子と型メソッド説明protected ErrorAttributeOptionsBasicErrorController.getErrorAttributeOptions(HttpServletRequestEE request, MediaType mediaType) 型 ErrorAttributeOptions のパラメーターを持つ org.springframework.boot.webmvc.autoconfigure.error のメソッド修飾子と型メソッド説明AbstractErrorController.getErrorAttributes(HttpServletRequestEE request, ErrorAttributeOptions options) org.springframework.boot.webmvc.error 内の ErrorAttributeOptions 使用
型 ErrorAttributeOptions のパラメーターを持つ org.springframework.boot.webmvc.error のメソッド修飾子と型メソッド説明DefaultErrorAttributes.getErrorAttributes(WebRequest webRequest, ErrorAttributeOptions options) ErrorAttributes.getErrorAttributes(WebRequest webRequest, ErrorAttributeOptions options) エラー属性のMapSE を返します。