Interface BackupTransferChannel


public interface BackupTransferChannel
Transport-owned binary streams opened only after full gateway authorization and approval. Implementations must enforce deadlines by closing the exchange, including blocked reads or writes. The transport retains stream ownership. This channel carries no identity or authorization evidence.
  • Method Summary

    Modifier and Type
    Method
    Description
    Opens the request archive stream after upload admission.
    output(long length)
    Opens the response archive stream after download admission.
  • Method Details

    • input

      InputStream input() throws IOException
      Opens the request archive stream after upload admission.
      Returns:
      transport-owned input
      Throws:
      IOException - if transport input is unavailable
    • output

      OutputStream output(long length) throws IOException
      Opens the response archive stream after download admission. HTTP adapters may commit archive response headers here, never before authorization.
      Parameters:
      length - exact committed archive length, used for response framing
      Returns:
      transport-owned output
      Throws:
      IOException - if transport output is unavailable