public class HttpPingChecker extends Object implements WaitChecker
| Constructor and Description |
|---|
HttpPingChecker(String waitUrl) |
HttpPingChecker(String url,
String method,
String status)
Ping the given URL
|
HttpPingChecker(String url,
String method,
String status,
boolean allowAllHosts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check() |
void |
cleanUp()
Cleanup hook which is called after the wait phase.
|
String |
getLogLabel()
Get the label to be used in the log
|
public HttpPingChecker(String url, String method, String status)
url - URL to checkmethod - HTTP method to usestatus - status code to checkpublic HttpPingChecker(String waitUrl)
public boolean check()
check in interface WaitCheckerpublic void cleanUp()
WaitCheckercleanUp in interface WaitCheckerpublic String getLogLabel()
WaitCheckergetLogLabel in interface WaitCheckerCopyright © 2018. All rights reserved.