Package com.ibm.cloud.sdk.core.util
Class UrlHelper
- java.lang.Object
-
- com.ibm.cloud.sdk.core.util.UrlHelper
-
public class UrlHelper extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getQueryParam(java.lang.String urlStr, java.lang.String param)
Returns the value of query parameter `param` from urlStr, or null when not found.
-
-
-
Method Detail
-
getQueryParam
public static java.lang.String getQueryParam(java.lang.String urlStr, java.lang.String param)
Returns the value of query parameter `param` from urlStr, or null when not found.- Parameters:
urlStr
- the URL string containing the query param to retrieveparam
- the name of the query param whose value should be returned- Returns:
- the value of the specified query parameter
-
-