@ConfigurationProperties(value="status") public static class HealthEndpoint.StatusConfiguration extends java.lang.Object
HealthStatus
.Constructor and Description |
---|
StatusConfiguration()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,HttpStatus> |
getHttpMapping() |
void |
setHttpMapping(java.util.Map<java.lang.String,HttpStatus> httpMapping)
Set how
HealthStatus map to HttpStatus codes. |
public java.util.Map<java.lang.String,HttpStatus> getHttpMapping()
HealthStatus
map to HttpStatus
codes.public void setHttpMapping(java.util.Map<java.lang.String,HttpStatus> httpMapping)
HealthStatus
map to HttpStatus
codes.httpMapping
- The http mappings