Home
last modified time | relevance | path

Searched refs:targetUri (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DDnsNameResolverProvider.java44 public DnsNameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
45 if (SCHEME.equals(targetUri.getScheme())) { in newNameResolver()
46 String targetPath = Preconditions.checkNotNull(targetUri.getPath(), "targetPath"); in newNameResolver()
48 "the path component (%s) of the target (%s) must start with '/'", targetPath, targetUri); in newNameResolver()
51 targetUri.getAuthority(), in newNameResolver()
DOverrideAuthorityNameResolverFactory.java46 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
47 final NameResolver resolver = delegate.newNameResolver(targetUri, params); in newNameResolver()
DManagedChannelImpl.java608 URI targetUri = null; in getNameResolver() local
611 targetUri = new URI(target); in getNameResolver()
619 if (targetUri != null) { in getNameResolver()
620 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver()
633 targetUri = new URI(nameResolverFactory.getDefaultScheme(), "", "/" + target, null); in getNameResolver()
638 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplGetNameResolverTest.java99 public NameResolver newNameResolver(URI targetUri, Attributes params) { in validTargetNoResovler()
146 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
147 if (expectedScheme.equals(targetUri.getScheme())) { in newNameResolver()
148 return new FakeNameResolver(targetUri); in newNameResolver()
DManagedChannelImplTest.java2738 public NameResolver newNameResolver(URI targetUri, Attributes params) { in badServiceConfigIsRecoverable() argument
2865 public NameResolver newNameResolver(final URI targetUri, Attributes params) { in newNameResolver() argument
2866 if (!expectedUri.equals(targetUri)) { in newNameResolver()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DNameResolverProvider.java109 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
112 NameResolver resolver = provider.newNameResolver(targetUri, params); in newNameResolver()
DNameResolver.java113 public abstract NameResolver newNameResolver(URI targetUri, Attributes params); in newNameResolver() argument
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DNameResolverProviderTest.java145 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument