Searched refs:targetUri (Results 1 – 8 of 8) sorted by relevance
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | DnsNameResolverProvider.java | 45 public DnsNameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument 46 if (SCHEME.equals(targetUri.getScheme())) { in newNameResolver() 47 String targetPath = Preconditions.checkNotNull(targetUri.getPath(), "targetPath"); in newNameResolver() 49 "the path component (%s) of the target (%s) must start with '/'", targetPath, targetUri); in newNameResolver() 52 targetUri.getAuthority(), in newNameResolver()
|
D | OverrideAuthorityNameResolverFactory.java | 46 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument 47 final NameResolver resolver = delegate.newNameResolver(targetUri, params); in newNameResolver()
|
D | ManagedChannelImpl.java | 635 URI targetUri = null; in getNameResolver() local 638 targetUri = new URI(target); in getNameResolver() 646 if (targetUri != null) { in getNameResolver() 647 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver() 660 targetUri = new URI(nameResolverFactory.getDefaultScheme(), "", "/" + target, null); in getNameResolver() 665 NameResolver resolver = nameResolverFactory.newNameResolver(targetUri, nameResolverParams); in getNameResolver()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ManagedChannelImplGetNameResolverTest.java | 99 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()
|
D | ManagedChannelImplTest.java | 2737 public NameResolver newNameResolver(URI targetUri, Attributes params) { in badServiceConfigIsRecoverable() argument 2856 public NameResolver newNameResolver(final URI targetUri, Attributes params) { in newNameResolver() argument 2857 if (!expectedUri.equals(targetUri)) { in newNameResolver()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | NameResolverProvider.java | 109 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument 112 NameResolver resolver = provider.newNameResolver(targetUri, params); in newNameResolver()
|
D | NameResolver.java | 110 public abstract NameResolver newNameResolver(URI targetUri, Attributes params); in newNameResolver() argument
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | NameResolverProviderTest.java | 145 public NameResolver newNameResolver(URI targetUri, Attributes params) { in newNameResolver() argument
|