public interface RequestMetadataCallback
Credentials.getRequestMetadata(java.net.URI, java.util.concurrent.Executor,
RequestMetadataCallback). Exactly one method should be called.| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(Throwable exception)
Called when metadata generation failed.
|
void |
onSuccess(Map<String,List<String>> metadata)
Called when metadata is successfully produced.
|
Copyright © 2017 Google. All rights reserved.