Fix Javadoc in UriComponentsBuilder
This commit is contained in:
parent
1466c82f53
commit
654e14a86a
|
@ -239,8 +239,8 @@ public class UriComponentsBuilder implements UriBuilder, 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");
|
||||
* String urlString = "https://example.com/hotels/42?filter={value}";
|
||||
* UriComponentsBuilder.fromHttpUrl(urlString).buildAndExpand("hot&cold");
|
||||
* </pre>
|
||||
* @param httpUrl the source URI
|
||||
* @return the URI components of the URI
|
||||
|
|
Loading…
Reference in New Issue