HttpCodeStatusMapper または SimpleHttpCodeStatusMapper を推奨 @DeprecatedSE public class HealthStatusHttpMapper extends ObjectSE
Status を HTTP ステータスコードにマップします。| コンストラクターと説明 |
|---|
HealthStatusHttpMapper() 使用すべきではありません。 新しいインスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | addStatusMapping(MapSE<StringSE, IntegerSE> statusMapping) 使用すべきではありません。 特定のステータスマッピングを既存のセットに追加します。 |
void | addStatusMapping(Status status, IntegerSE httpStatus) 使用すべきではありません。 ステータスマッピングを既存のセットに追加します。 |
void | addStatusMapping(StringSE statusCode, IntegerSE httpStatus) 使用すべきではありません。 ステータスマッピングを既存のセットに追加します。 |
MapSE<StringSE, IntegerSE> | getStatusMapping() 使用すべきではありません。 ステータスマッピングの不変のビューを返します。 |
int | mapStatus(Status status) 使用すべきではありません。 指定された Status を HTTP ステータスコードにマップします。 |
void | setStatusMapping(MapSE<StringSE, IntegerSE> statusMapping) 使用すべきではありません。 特定のステータスマッピングを設定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic void setStatusMapping(MapSE<StringSE,IntegerSE> statusMapping)
statusMapping - ヘルスステータスコードから HTTP ステータスコードへのマップ public void addStatusMapping(MapSE<StringSE,IntegerSE> statusMapping)
statusMapping - ヘルスステータスコードから HTTP ステータスコードへのマップ public void addStatusMapping(Status status, IntegerSE httpStatus)
status - マップするステータス httpStatus - http ステータス public void addStatusMapping(StringSE statusCode, IntegerSE httpStatus)
statusCode - マップするステータスコード httpStatus - http ステータス public MapSE<StringSE,IntegerSE> getStatusMapping()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.