FileDownload

public class FileDownload extends FileTransmission

Fields

buffers

Map<String, DownloadBuffer> buffers

Constructors

FileDownload

public FileDownload(FileTransmissionSettings settings, String id)

Methods

append

public String append(FileProperties fp)

cleanUp

public void cleanUp()

getFile

public FileProperties getFile(String fileId)

getNextChunk

public FileDownloadResponse getNextChunk(String fileId)

getTransmissionSettings

public FileTransmissionSettings getTransmissionSettings()