Class HealthEndpoint.StatusConfiguration
java.lang.Object
io.micronaut.management.endpoint.health.HealthEndpoint.StatusConfiguration
- Enclosing class:
- HealthEndpoint
@ConfigurationProperties("status")
public static class HealthEndpoint.StatusConfiguration
extends Object
Configuration related to handling of the
HealthStatus
.- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setHttpMapping
(Map<String, HttpStatus> httpMapping) Set howHealthStatus
map toHttpStatus
codes.
-
Constructor Details
-
StatusConfiguration
public StatusConfiguration()Default constructor.
-
-
Method Details
-
getHttpMapping
- Returns:
- How
HealthStatus
map toHttpStatus
codes.
-
setHttpMapping
Set howHealthStatus
map toHttpStatus
codes.- Parameters:
httpMapping
- The http mappings
-