Package io.grpc
Class CallCredentials.MetadataApplier
java.lang.Object
io.grpc.CallCredentials.MetadataApplier
- Enclosing class:
CallCredentials
The outlet of the produced headers. Not thread-safe.
Exactly one of its methods must be called to make the RPC proceed.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MetadataApplier
public MetadataApplier()
-
-
Method Details
-
apply
Called when headers are successfully generated. They will be merged into the original headers. -
fail
Called when there has been an error when preparing the headers. This will fail the RPC.
-