public final class UriQueryBuilder extends Object
| Constructor and Description |
|---|
UriQueryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
String value)
Adds a value to the URI with escaping.
|
URI |
addToURI(URI uri)
Add query parameter to an existing Uri.
|
String |
toString()
Returns a string that represents this instance.
|
public void add(String name, String value) throws StorageException
name - the query key name.value - the query value.StorageExceptionpublic URI addToURI(URI uri) throws URISyntaxException, StorageException
uri - the original uri.URISyntaxException - if the resulting uri is invalid.StorageExceptionCopyright © 2019. All rights reserved.