public UrlStringBuilder setPath ( String ... elements ) { Validate . noNullElements ( elements , "elements cannot be null" ) ; this . path . clear ( ) ; this . addPath ( elements ) ; return this ; }
Removes any existing path elements and sets the provided elements as the path