Class MultiFileLoadResponse

All Implemented Interfaces:
Serializable

public class MultiFileLoadResponse extends StagingResponse<String>
Response containing information about multiple files.
See Also:
  • Constructor Details

    • MultiFileLoadResponse

      public MultiFileLoadResponse()
      Constructor used by JAXB.
    • MultiFileLoadResponse

      public MultiFileLoadResponse(List<File> files)
      Convenience constructor. Automatically adds a response info with a response code of OK.
      Parameters:
      files - The files the send with the response.
    • MultiFileLoadResponse

      public MultiFileLoadResponse(Message message, ResponseInfo responseInfo)
      Response with an empty file list.
      Parameters:
      message - The message that should be displayed to the user.
      response - ResponseInfo with the status of the response.
  • Method Details

    • getFiles

      public List<File> getFiles()
      The list of found files.
      Returns:
      The list of found files.
    • setFiles

      public void setFiles(List<File> files)
      Set the list of files to send with the response.
      Parameters:
      pages - The list of files to send with the response.