mirror of https://github.com/grpc/grpc-java.git
This is the 3rd step of #4901 - The deprecated `CC.applyRequestMetadata(... Attributes ...)` is now **replaced** by the new API `CC.applyRequestMetadata(... CC.MetadataApplier ...)` transformed from `CC2.applyRequestMetadata(... CC2.MetadataApplier ...)`. - The Attributes keys in `CallCredentials` were deprecated, and now deleted. - The deprecated interface `CC.MetadataApplier` is **replaced** by an equivalent abstract class. - `CallCredentials2` is now marked as deprecated, while keeping its interface intact so that it won't break current implementations that are still on `CallCredentials2`. - From this point on, implementations should do a one-line change from `extends CallCredentials2` to `extends CallCredentials` - `GoogleAuthLibraryCallCredentials` is kept as `CallCredentials2` for now, as there is an internal consumer that expects it to be `CallCredentials2`. |
||
|---|---|---|
| .. | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||