Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grpc/grpc-java
/ hasAuthority
Method
hasAuthority
api/src/main/java/io/grpc/Uri.java:366–368 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
364
}
365
366
private
boolean hasAuthority() {
367
return
host != null;
368
}
369
370
/**
371
* Returns the
"authority"
component of this URI in its originally parsed, possibly
Callers
3
Uri
Method · 0.95
getRawAuthority
Method · 0.95
toString
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected