Interface InMemoryUploadCallback

All Superinterfaces:
Serializable

public interface InMemoryUploadCallback extends Serializable
Callback interface for handling in-memory uploads in InMemoryUploadHandler. This interface is used to process the upload metadata after the upload is complete. The method invocation may throw an IOException to handle cases where processing the upload fails.
Since:
24.8
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    complete(UploadMetadata metadata, byte[] data)
    Applies the given callback once the in-memory data upload is complete.
  • Method Details

    • complete

      void complete(UploadMetadata metadata, byte[] data) throws IOException
      Applies the given callback once the in-memory data upload is complete.
      Parameters:
      metadata - the upload metadata containing relevant information about the upload
      Throws:
      IOException - if an I/O error occurs in the callback