Interface RequestMetadataCallback

    • Method Detail

      • onSuccess

        void onSuccess​(Map<String,​List<String>> metadata)
        Called when metadata is successfully produced.
        Parameters:
        metadata - Metadata returned for the request.
      • onFailure

        void onFailure​(Throwable exception)
        Called when metadata generation failed.
        Parameters:
        exception - The thrown exception which caused the request metadata fetch to fail.