Note: The presence of reserved characters can prevent correct parsing of the URI string. For example if a query parameter contains {@code '='} or {@code '&'} characters, the query string cannotbe parsed unambiguously. Such values should be substituted for URI variables to enable correct parsing:
String uriString = "/hotels/42?filter={value}"; UriComponentsBuilder.fromUriString(uriString).buildAndExpand("hot&cold");@param query the query string @return this UriComponentsBuilder
|
|
|
|
|
|
|
|