public class HttpURLValidator
extends java.lang.Object
Constructor and Description |
---|
HttpURLValidator() |
Modifier and Type | Method and Description |
---|---|
static void |
cancelAll() |
static boolean |
isTomcatRunning(java.lang.String urlStr) |
static boolean |
pingUntilAvailable(java.lang.String urlStr,
int timeoutSeconds) |
static boolean |
simplePing(java.lang.String host,
int port) |
static java.lang.String |
validate(java.lang.String urlStr)
validates a url passed as a String
|
public static java.lang.String validate(java.lang.String urlStr)
urlStr
- the url to validatepublic static void cancelAll()
public static boolean pingUntilAvailable(java.lang.String urlStr, int timeoutSeconds) throws java.net.MalformedURLException
java.net.MalformedURLException
public static boolean simplePing(java.lang.String host, int port)
public static boolean isTomcatRunning(java.lang.String urlStr)
Copyright © 2004-2014 The YAWL Foundation.