|
|
|
@ -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 |
|
|
|
|