Sets the previously encoded path. If the path is not null and doesn't start with a '/', and if you specify a scheme and/or authority, the builder will prepend the given path with a '/'.
(String path)
| 1408 | * given path with a '/'. |
| 1409 | */ |
| 1410 | public Builder encodedPath(String path) { |
| 1411 | return path(PathPart.fromEncoded(path)); |
| 1412 | } |
| 1413 | |
| 1414 | /** |
| 1415 | * Encodes the given segment and appends it to the path. |