@FunctionalInterface public interface HttpCodeStatusMapper
health status to an HTTP status code.| Modifier and Type | Field and Description |
|---|---|
static HttpCodeStatusMapper |
DEFAULT
A
HttpCodeStatusMapper instance using default mappings. |
| Modifier and Type | Method and Description |
|---|---|
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