Specifies the fragment component of the new URI, already percent-encoded, exactly as it will appear after the '#' delimiter in the string form of the built URI. NB: Choose carefully between this method and #setFragment(String). fragment must only contain codepoints from RFC 3986'
(@Nullable String fragment)
| 856 | * @throws IllegalArgumentException if 'fragment' contains forbidden characters |
| 857 | */ |
| 858 | @CanIgnoreReturnValue |
| 859 | public Builder setRawFragment(@Nullable String fragment) { |
| 860 | if (fragment != null) { |
| 861 | checkPercentEncodedArg(fragment, "fragment", fragmentChars); |
| 862 | } |
| 863 | this.fragment = fragment; |
| 864 | return this; |
| 865 | } |
| 866 | |
| 867 | /** |
| 868 | * Set the "user info" component of the new URI, e.g. "username:password", not including the |