public class URLUtil extends Object
| Constructor and Description |
|---|
URLUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
dealMultiUrl(String urls) |
static List<String> |
getEnvConfigUrl() |
static List<String> |
getEnvServerURL() |
static boolean |
isEquals(String url1,
String url2)
Compare two urls, if the domain and port are the same, they are considered equal
|
static String[] |
splitIpPort(String url) |
static String |
transform(String restUrl)
Convert url to http or https
|
public static String transform(String restUrl)
restUrl - public static boolean isEquals(String url1, String url2)
url1 - url2 - Copyright © 2023 Pivotal Software, Inc.. All rights reserved.