public class UrlHelper
extends java.lang.Object
Modifier and Type | Method and 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.
|
public static java.lang.String getQueryParam(java.lang.String urlStr, java.lang.String param)
urlStr
- the URL string containing the query param to retrieveparam
- the name of the query param whose value should be returnedCopyright © 2022 IBM Cloud Developer Experience. All rights reserved.