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

Method isAbsolute

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

Returns true iff this URI has a scheme and an authority/path hierarchy, but no fragment. All instances of Uri are RFC 3986 URIs, not "relative references", so this method is equivalent to getFragment() == null. It mostly exists for compatibility with java.net.URI.

()

Source from the content-addressed store, hash-verified

637 * java.net.URI}.
638 */
639 public boolean isAbsolute() {
640 return scheme != null && fragment == null;
641 }
642
643 /**
644 * {@inheritDoc}

Callers 7

parse_allComponentsMethod · 0.95
parse_noAuthorityMethod · 0.95
parse_noFragmentMethod · 0.95
parse_rootlessMethod · 0.95
parse_emptyPathMethod · 0.95

Calls

no outgoing calls

Tested by 6

parse_allComponentsMethod · 0.76
parse_noAuthorityMethod · 0.76
parse_noFragmentMethod · 0.76
parse_rootlessMethod · 0.76
parse_emptyPathMethod · 0.76