Skip to content

Commit

Permalink
api: fix javadoc of CallCredentials.applyRequestMetadata
Browse files Browse the repository at this point in the history
It is the `Executor appExecutor` that should be given an asynchronous
task, not `CallCredentials.MetadataApplier applier`.

Signed-off-by: Eng Zer Jun <[email protected]>
  • Loading branch information
Juneezee authored and ejona86 committed Oct 17, 2024
1 parent 23ebf36 commit 1e0928f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/io/grpc/CallCredentials.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e0928f

Please sign in to comment.