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

Method getPath

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

Returns the (possibly empty) percent-decoded "path" component of this URI. NB: This method assumes the path was encoded as UTF-8, although RFC 3986 doesn't specify an encoding. Decoding errors are indicated by a '\u005CuFFFD' unicode replacement character in the output. Callers who w

()

Source from the content-addressed store, hash-verified

474 * java.net.URI}.
475 */
476 public String getPath() {
477 return percentDecodeAssumedUtf8(path);
478 }
479
480 /**
481 * Returns this URI's path as a list of path segments not including the '/' segment delimiters.

Callers 15

parse_allComponentsMethod · 0.95
parse_noAuthorityMethod · 0.95
parse_noQueryMethod · 0.95
parse_noFragmentMethod · 0.95
parse_rootlessMethod · 0.95
parse_emptyPathMethod · 0.95
parse_decodingMethod · 0.95
parse_decodingPercentMethod · 0.95
parse_emptyAuthorityMethod · 0.95

Calls 1

Tested by 11

parse_allComponentsMethod · 0.76
parse_noAuthorityMethod · 0.76
parse_noQueryMethod · 0.76
parse_noFragmentMethod · 0.76
parse_rootlessMethod · 0.76
parse_emptyPathMethod · 0.76
parse_decodingMethod · 0.76
parse_decodingPercentMethod · 0.76
parse_emptyAuthorityMethod · 0.76