Package io.grpc.grpclb
Class SecretGrpclbNameResolverProvider
- java.lang.Object
-
- io.grpc.grpclb.SecretGrpclbNameResolverProvider
-
final class SecretGrpclbNameResolverProvider extends java.lang.Object
A provider forio.grpc.grpclb.GrpclbNameResolver
.It resolves a target URI whose scheme is
"dns"
. The (optional) authority of the target URI is reserved for the address of alternative DNS server (not implemented yet). The path of the target URI, excluding the leading slash'/'
, is treated as the host name and the optional port to be resolved by DNS. Example target URIs:"dns:///foo.googleapis.com:8080"
(using default DNS)"dns://8.8.8.8/foo.googleapis.com:8080"
(using alternative DNS (not implemented yet))"dns:///foo.googleapis.com"
(without port)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecretGrpclbNameResolverProvider.Provider
-
Constructor Summary
Constructors Modifier Constructor Description private
SecretGrpclbNameResolverProvider()
-