api: fix javadoc of CallCredentials.applyRequestMetadata

It is the `Executor appExecutor` that should be given an asynchronous
task, not `CallCredentials.MetadataApplier applier`.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
This commit is contained in:
Eng Zer Jun 2024-09-29 23:48:41 +08:00 committed by Eric Anderson
parent 23ebf364d4
commit 1e0928fb79
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public abstract class CallCredentials {
* <p>It is called for each individual RPC, within the {@link Context} of the call, before the
* stream is about to be created on a transport. Implementations should not block in this
* method. If metadata is not immediately available, e.g., needs to be fetched from network, the
* implementation may give the {@code applier} to an asynchronous task which will eventually call
* implementation may give the {@code appExecutor} an asynchronous task which will eventually call
* the {@code applier}. The RPC proceeds only after the {@code applier} is called.
*
* @param requestInfo request-related information