@FunctionalInterface public interface ProgressMonitor
| Modifier and Type | Method and Description |
|---|---|
void |
accept(String field,
String fileName,
Long bytesWritten,
Long totalBytes)
Accept stats about the current file upload chunk for a file.
|
void accept(String field, String fileName, Long bytesWritten, Long totalBytes)
field - the field namefileName - the name of the file in question if available (InputStreams and byte arrays may not have file names)bytesWritten - the number of bytes that have been uploaded so fartotalBytes - the total bytes that will be uploaded. Note this this may be an estimate if an InputStream was usedCopyright © 2019. All rights reserved.