Browse Source

Fix Javadoc in UriComponentsBuilder

pull/1312/head
Ryan Pickett 9 years ago committed by Rossen Stoyanchev
parent
commit
654e14a86a
  1. 4
      spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java

4
spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java

@ -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 = &quot;/hotels/42?filter={value}&quot;; * String urlString = &quot;https://example.com/hotels/42?filter={value}&quot;;
* UriComponentsBuilder.fromUriString(uriString).buildAndExpand(&quot;hot&amp;cold&quot;); * UriComponentsBuilder.fromHttpUrl(urlString).buildAndExpand(&quot;hot&amp;cold&quot;);
* </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…
Cancel
Save