@FunctionalInterface public interface HttpCodeStatusMapper
health status
to an HTTP status code.Modifier and Type | Method and Description |
---|---|
int |
getStatusCode(Status status)
Return the HTTP status code that corresponds to the given
health
status . |
int getStatusCode(Status status)
health
status
.status
- the health status to map