grpc-java/core/src/test
John Cormie 0b2d44098f
Introduce custom NameResolver.Args (#11669)
grpc-binder's upcoming AndroidIntentNameResolver needs to know the target Android user so it can resolve target URIs in the correct place. Unfortunately, Android's built in intent:// URI scheme has no way to specify a user and in fact the android.os.UserHandle object can't reasonably be encoded as a String at all.

We solve this problem by extending NameResolver.Args with the same type-safe and domain-specific Key<T> pattern used by CallOptions, Context and CreateSubchannelArgs. New "custom" arguments could apply to all NameResolvers of a certain URI scheme, to all NameResolvers producing a particular type of java.net.SocketAddress, or even to a specific NameResolver subclass.
2024-12-19 23:32:47 -08:00
..
java/io/grpc/internal Introduce custom NameResolver.Args (#11669) 2024-12-19 23:32:47 -08:00
resources/io/grpc/internal core: SpiffeUtil API for extracting Spiffe URI and loading TrustBundles (#11575) 2024-10-17 11:11:07 -07:00