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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Input streams associated with the operation
    boolean
    Flag indicating whether the streams should be automatically closed once the operation completed.

    Methods inherited from interface java.io.Closeable

    close
  • Field Details

  • Method Details

    • 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