MCPcopy Create free account
hub / github.com/grpc/grpc-java / getUserInfo

Method getUserInfo

api/src/main/java/io/grpc/Uri.java:406–409  ·  view source on GitHub ↗

Returns the percent-decoded "User Information" component of this URI, or null if not present. NB: This method assumes this component was encoded as UTF-8, although RFC 3986 doesn't specify an encoding. Decoding errors are indicated by a '\u005CuFFFD' unicode replacement character in

()

Source from the content-addressed store, hash-verified

404 * #getRawUserInfo()}, {@link #percentDecode(CharSequence)}, then decode the bytes for themselves.
405 */
406 @Nullable
407 public String getUserInfo() {
408 return percentDecodeAssumedUtf8(userInfo);
409 }
410
411 /**
412 * Returns the "User Information" component of this URI in its originally parsed, possibly

Callers 9

parse_allComponentsMethod · 0.95
parse_emptyUserInfoMethod · 0.95
parse_decodingMethod · 0.95
parse_emptyAuthorityMethod · 0.95
removePortMethod · 0.80
removePortMethod · 0.80

Calls 1