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

Method getRawAuthority

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

Returns the "authority" component of this URI in its originally parsed, possibly percent-encoded form.

()

Source from the content-addressed store, hash-verified

372 * percent-encoded form.
373 */
374 @Nullable
375 public String getRawAuthority() {
376 if (hasAuthority()) {
377 StringBuilder sb = new StringBuilder();
378 appendAuthority(sb);
379 return sb.toString();
380 }
381 return null;
382 }
383
384 private void appendAuthority(StringBuilder sb) {
385 if (userInfo != null) {

Callers 3

parse_emptyPortMethod · 0.95
parse_decodingMethod · 0.95
getAuthorityMethod · 0.95

Calls 3

hasAuthorityMethod · 0.95
appendAuthorityMethod · 0.95
toStringMethod · 0.45

Tested by 2

parse_emptyPortMethod · 0.76
parse_decodingMethod · 0.76