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 WaitChecker
public void cleanUp()
WaitChecker
cleanUp
in interface WaitChecker
public String getLogLabel()
WaitChecker
getLogLabel
in interface WaitChecker
Copyright © 2020. All rights reserved.