Update Javadoc on UriComponentsBuilder.query
This commit is contained in:
@@ -605,8 +605,9 @@ public class UriComponentsBuilder implements Cloneable {
|
||||
* be parsed unambiguously. Such values should be substituted for URI
|
||||
* variables to enable correct parsing:
|
||||
* <pre class="code">
|
||||
* String uriString = "/hotels/42?filter={value}";
|
||||
* UriComponentsBuilder.fromUriString(uriString).buildAndExpand("hot&cold");
|
||||
* UriComponentsBuilder.fromUriString("/hotels/42")
|
||||
* .query("filter={value}")
|
||||
* .buildAndExpand("hot&cold");
|
||||
* </pre>
|
||||
* @param query the query string
|
||||
* @return this UriComponentsBuilder
|
||||
|
||||
Reference in New Issue
Block a user