Package org.apache.shenyu.common.utils
Class UpstreamCheckUtils
- java.lang.Object
-
- org.apache.shenyu.common.utils.UpstreamCheckUtils
-
public class UpstreamCheckUtils extends java.lang.ObjectThe type Uri utils.
-
-
Constructor Summary
Constructors Constructor Description UpstreamCheckUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancheckUrl(java.lang.String url)Check url boolean.static booleancheckUrl(java.lang.String url, int timeout)Check url boolean.
-
-
-
Method Detail
-
checkUrl
public static boolean checkUrl(java.lang.String url)
Check url boolean.- Parameters:
url- the url- Returns:
- the boolean
-
checkUrl
public static boolean checkUrl(java.lang.String url, int timeout)Check url boolean.- Parameters:
url- the urltimeout- timeout- Returns:
- the boolean
-
-