Interface Finalizer

All Known Implementing Classes:
DownloadFinalizer, UploadFinalizer

public interface Finalizer
Interface for finalizing file transfer operations.

Implementations are called after file data transfer completes to perform finalization steps such as confirming the transfer with the server using the receipt.

Since:
2022-06-14
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(String receipt)
     
  • Method Details

    • run

      void run(String receipt) throws IOException
      Parameters:
      receipt - The receipt that was retrieved from the server, if any. If the server returns a receipt it should be used to complete the transfer.
      Throws:
      IOException - If the transfer should fail.