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
|
* be parsed unambiguously. Such values should be substituted for URI
|
||||||
* variables to enable correct parsing:
|
* variables to enable correct parsing:
|
||||||
* <pre class="code">
|
* <pre class="code">
|
||||||
* String uriString = "/hotels/42?filter={value}";
|
* String urlString = "https://example.com/hotels/42?filter={value}";
|
||||||
* UriComponentsBuilder.fromUriString(uriString).buildAndExpand("hot&cold");
|
* UriComponentsBuilder.fromHttpUrl(urlString).buildAndExpand("hot&cold");
|
||||||
* </pre>
|
* </pre>
|
||||||
* @param httpUrl the source URI
|
* @param httpUrl the source URI
|
||||||
* @return the URI components of the URI
|
* @return the URI components of the URI
|
||||||
|
|
Loading…
Reference in New Issue