HealthEndpointWebExtension または ReactiveHealthEndpointWebExtension を推奨 @DeprecatedSE public class HealthWebEndpointResponseMapper extends ObjectSE
Health を WebEndpointResponse にマップします。| コンストラクターと説明 |
|---|
HealthWebEndpointResponseMapper(HealthStatusHttpMapper statusHttpMapper, ShowDetails showDetails, SetSE<StringSE> authorizedRoles) 使用すべきではありません。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
WebEndpointResponse<Health> | map(Health health, SecurityContext securityContext) 使用すべきではありません。 |
WebEndpointResponse<Health> | map(Health health, SecurityContext securityContext, ShowDetails showDetails) 使用すべきではありません。 |
WebEndpointResponse<Health> | mapDetails(SupplierSE<Health> health, SecurityContext securityContext) 使用すべきではありません。 指定された health の詳細を WebEndpointResponse にマップし、指定された securityContext を使用してマッパーのデフォルトの ShowDetails を尊重します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic HealthWebEndpointResponseMapper(HealthStatusHttpMapper statusHttpMapper, ShowDetails showDetails, SetSE<StringSE> authorizedRoles)
public WebEndpointResponse<Health> mapDetails(SupplierSE<Health> health, SecurityContext securityContext)
health の詳細を WebEndpointResponse にマップし、指定された securityContext を使用してマッパーのデフォルトの ShowDetails を尊重します。 現在のユーザーに詳細を表示する権限がない場合、SupplierSE は呼び出されず、代わりに 404 レスポンスが返されます。
health - 現在のユーザーが表示する権利を持っている場合に呼び出される、ヘルスの詳細のプロバイダー securityContext - セキュリティコンテキスト public WebEndpointResponse<Health> map(Health health, SecurityContext securityContext)
health - マップするヘルス securityContext - セキュリティコンテキスト public WebEndpointResponse<Health> map(Health health, SecurityContext securityContext, ShowDetails showDetails)
health - マップするヘルス securityContext - セキュリティコンテキスト showDetails - レスポンスに詳細を表示するタイミング Copyright © 2019 Pivotal Software, Inc.. All rights reserved.