@FunctionalInterface
public interface HttpCodeStatusMapper
health status to an HTTP status code.| 限定符和类型 | 字段和说明 |
|---|---|
static HttpCodeStatusMapper |
DEFAULT
A
HttpCodeStatusMapper instance using default mappings. |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getStatusCode(Status status)
Return the HTTP status code that corresponds to the given
health
status. |
static final HttpCodeStatusMapper DEFAULT
HttpCodeStatusMapper instance using default mappings.int getStatusCode(Status status)
health
status.status - the health status to map