インターフェースの使用
org.springframework.boot.grpc.server.health.StatusMapper
StatusMapper を使用するパッケージ
org.springframework.boot.grpc.server.health 内の StatusMapper 使用
修飾子と型メソッド説明static StatusMapperStatusMapper.getDefault()デフォルトのマッピングを使用してStatusMapperインスタンスを返します。HealthCheckedGrpcComponent.getStatusMapper()このコンポーネントに使用すべきStatusMapperを返します。static StatusMapperStatusMapper.of(@Nullable MapSE<StringSE, io.grpc.health.v1.HealthCheckResponse.ServingStatus> mappings) 指定されたマッピングで新しいStatusMapperを作成します。