public class UrlHelper extends Object
Constructor and Description |
---|
UrlHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
addPathParameter(String url,
String parameterName,
Object parameterValue)
Adds the path parameter.
|
static String |
addQueryParameterToUrl(String url,
String parameterName,
Object parameterValue)
Adds the query parameter to URL.
|
public static String addPathParameter(String url, String parameterName, Object parameterValue)
url
- The URL.parameterName
- Name of the parameter.parameterValue
- The parameter value.public static String addQueryParameterToUrl(String url, String parameterName, Object parameterValue) throws IllegalArgumentException, URISyntaxException
url
- The URL.parameterName
- Name of the parameter.parameterValue
- The parameter value.IllegalArgumentException
URISyntaxException
Copyright © 2021 Aspose Pty Ltd. All rights reserved.