| Modifier and Type | Method and Description |
|---|---|
UrlHealthCheck |
UrlHealthCheck.name(String name)
Sets the name of the health check.
|
UrlHealthCheck |
UrlHealthCheck.requestMethod(String requestMethod)
Sets the request method to be used (ie GET, POST, PUT, ...)
|
UrlHealthCheck |
UrlHealthCheck.statusCode(int statusCode)
Sets the expected status code to be returned as valid.
|
UrlHealthCheck |
UrlHealthCheck.timeout(int timeout)
Sets timeout in millis.
|
Copyright © 2018–2022. All rights reserved.