Package ai.preferred.venom.utils
Class UrlUtil
- java.lang.Object
-
- ai.preferred.venom.utils.UrlUtil
-
public final class UrlUtil extends Object
A utility for managing URLs.- Author:
- Ween Jiann Lee
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringgetBaseUrl(Request request)Deprecated.
-
-
-
Method Detail
-
getBaseUrl
@Deprecated public static String getBaseUrl(Request request) throws URISyntaxException
Deprecated.Get base url from a request.- Parameters:
request- an instance of request- Returns:
- base URL string
- Throws:
URISyntaxException- if not a proper URL
-
-