Interface OperationAttachments

  • All Superinterfaces:
    AutoCloseable, Closeable
    All Known Subinterfaces:
    Operation

    public interface OperationAttachments
    extends Closeable
    The operation attachments. This interface extends Closeable which can be used to close all associated input streams with this attachment.
    Author:
    Kabir Khan
    • Method Detail

      • isAutoCloseStreams

        boolean isAutoCloseStreams()
        Flag indicating whether the streams should be automatically closed once the operation completed.
        Returns:
        true if the streams are going to be closed, false otherwise
      • getInputStreams

        List<InputStream> getInputStreams()
        Input streams associated with the operation
        Returns:
        the streams. If there are none an empty list is returned