Specifies the new URI's path component as a string of zero or more '/' delimited segments. Path segments can consist of any string of codepoints. Codepoints that can't be encoded literally will be percent-encoded for you. If a URI contains an authority component, then the path component must
(String path)
| 750 | * @return this, for fluent building |
| 751 | */ |
| 752 | @CanIgnoreReturnValue |
| 753 | public Builder setPath(String path) { |
| 754 | checkArgument(path != null, "Path can be empty but not null"); |
| 755 | this.path = percentEncode(path, pCharsAndSlash); |
| 756 | return this; |
| 757 | } |
| 758 | |
| 759 | /** |
| 760 | * Specifies the new URI's path component as a string of zero or more '/' delimited segments. |