@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 mapCopyright © 2020 Pivotal Software, Inc.. All rights reserved.