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