@FunctionalInterfaceSE public interface HttpCodeStatusMapper
health status を HTTP ステータスコードにマップするために使用される戦略。| 修飾子と型 | フィールドと説明 |
|---|---|
static HttpCodeStatusMapper | DEFAULT デフォルトのマッピングを使用する HttpCodeStatusMapper インスタンス。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
int | getStatusCode(Status status) 指定された health status に対応する HTTP ステータスコードを返します。 |
static final HttpCodeStatusMapper DEFAULT
HttpCodeStatusMapper インスタンス。int getStatusCode(Status status)
health status に対応する HTTP ステータスコードを返します。status - マップするヘルスステータス