mirror of https://github.com/grpc/grpc-java.git
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:
parent
23ebf364d4
commit
1e0928fb79
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue