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) |
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()
cleanUp in interface WaitCheckerCopyright © 2017. All rights reserved.