Override the HTTP/2 authority the channel claims to be connecting to. This is not generally safe. Overriding allows advanced users to re-use a single Channel for multiple services, even if those services are hosted on different domain names. That assumes the server is virtually hosting mult
()
| 272 | * TLS certificate.</em> |
| 273 | */ |
| 274 | @Nullable |
| 275 | @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1767") |
| 276 | public String getAuthority() { |
| 277 | return authority; |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * Returns the call credentials. |
nothing calls this directly
no outgoing calls
no test coverage detected