Class Utils
- java.lang.Object
-
- org.ametys.plugins.proxiedcontent.Utils
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static String
getRemoteHostFromUrl(String url)
Get the remote host from the given url(package private) static String
normalizeUrl(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
-
-