Set the "user info" component of the new URI, e.g. "username:password", not including the trailing '@' character. User info can contain any string of codepoints. Codepoints that can't be encoded literally will be percent-encoded for you as UTF-8. This field is optional. @param userInfo the
(@Nullable String userInfo)
| 877 | * @return this, for fluent building |
| 878 | */ |
| 879 | @CanIgnoreReturnValue |
| 880 | public Builder setUserInfo(@Nullable String userInfo) { |
| 881 | this.userInfo = percentEncode(userInfo, userInfoChars); |
| 882 | return this; |
| 883 | } |
| 884 | |
| 885 | @CanIgnoreReturnValue |
| 886 | Builder setRawUserInfo(String userInfo) { |