Package com.huaweicloud.common.util
Class URLUtil
java.lang.Object
com.huaweicloud.common.util.URLUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondealMultiUrl(String urls) static booleanCompare two urls, if the domain and port are the same, they are considered equalstatic String[]splitIpPort(String url) static StringConvert url to http or https
-
Constructor Details
-
URLUtil
public URLUtil()
-
-
Method Details
-
splitIpPort
-
transform
Convert url to http or https -
isEquals
Compare two urls, if the domain and port are the same, they are considered equal -
dealMultiUrl
-