Class Utils
- java.lang.Object
-
- org.ametys.plugins.proxiedcontent.Utils
-
-
Constructor Summary
Constructors Modifier Constructor Description privateUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static StringgetRemoteHostFromUrl(String url)Get the remote host from the given url(package private) static StringnormalizeUrl(String url)Normalize URL
-
-
-
Constructor Detail
-
Utils
private Utils()
-
-
Method Detail
-
normalizeUrl
static String normalizeUrl(String url)
Normalize URL- Parameters:
url- The url- Returns:
- The normalized URL
-
getRemoteHostFromUrl
static String getRemoteHostFromUrl(String url)
Get the remote host from the given url- Parameters:
url- the url- Returns:
- the remote host or empty if url does not match
-
-