@Internal
public final class XdsNameResolverProvider
extends io.grpc.NameResolverProvider
XdsNameResolver.
It resolves a target URI whose scheme is "xds-experimental". The authority of the
target URI is never used for current release. The path of the target URI, excluding the leading
slash '/', will indicate the name to use in the VHDS query.
This class should not be directly referenced in code. The resolver should be accessed
through NameResolverRegistry with the URI scheme "xds-experimental".
| Constructor and Description |
|---|
XdsNameResolverProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultScheme() |
protected boolean |
isAvailable() |
io.grpc.xds.XdsNameResolver |
newNameResolver(URI targetUri,
io.grpc.NameResolver.Args args) |
protected int |
priority() |
public io.grpc.xds.XdsNameResolver newNameResolver(URI targetUri, io.grpc.NameResolver.Args args)
newNameResolver in class io.grpc.NameResolver.Factorypublic String getDefaultScheme()
getDefaultScheme in class io.grpc.NameResolver.Factoryprotected boolean isAvailable()
isAvailable in class io.grpc.NameResolverProviderprotected int priority()
priority in class io.grpc.NameResolverProvider