Add comment indicating path segment combining in UriComponents.normalize

Issue: SPR-15734
This commit is contained in:
Arjen Poutsma 2017-07-06 11:45:13 +02:00
parent 398322139a
commit 625855c00f
1 changed files with 3 additions and 1 deletions

View File

@ -187,7 +187,9 @@ public abstract class UriComponents implements Serializable {
abstract UriComponents expandInternal(UriTemplateVariables uriVariables);
/**
* Normalize the path removing sequences like "path/..".
* Normalize the path removing sequences like "path/..". Note that calling this method will
* combine all path segments into a full path before doing the actual normalisation, i.e.
* individual path segments will not be normalized individually.
* @see org.springframework.util.StringUtils#cleanPath(String)
*/
public abstract UriComponents normalize();