public interface ErrorAttributes
DefaultErrorAttributes
修飾子と型 | フィールドと説明 |
---|---|
static StringSE | ERROR_ATTRIBUTE ErrorAttributes 実装によって解決されたエラーを保持している request attribute EE の名前。 |
修飾子と型 | メソッドと説明 |
---|---|
ThrowableSE | getError(WebRequest webRequest) エラーの根本的な原因を返すか、エラーを抽出できない場合は null を返します。 |
default MapSE<StringSE, ObjectSE> | getErrorAttributes(WebRequest webRequest, ErrorAttributeOptions options) エラー属性の Map SE を返します。 |
static final StringSE ERROR_ATTRIBUTE
ErrorAttributes
実装によって解決されたエラーを保持している request attribute
EE の名前。default MapSE<StringSE,ObjectSE> getErrorAttributes(WebRequest webRequest, ErrorAttributeOptions options)
webRequest
- ソースリクエスト options
- エラー属性コンテンツのオプション ThrowableSE getError(WebRequest webRequest)
null
を返します。webRequest
- ソースリクエスト null
の原因となった Exception
SE