Package io.jmix.ui.widget
Interface JmixFileUpload.Receiver
- All Superinterfaces:
Serializable
- Enclosing class:
- JmixFileUpload
Interface that must be implemented by the upload receivers to provide the JmixFileUpload component an output
stream to write the uploaded data.
-
Method Summary
Modifier and TypeMethodDescriptionreceiveUpload
(String fileName, String mimeType) Invoked when a new upload arrives.
-
Method Details
-
receiveUpload
Invoked when a new upload arrives.- Parameters:
fileName
- the desired fileName of the upload, usually as specified by the client.mimeType
- the MIME type of the uploaded file.- Returns:
- Stream to which the uploaded file should be written.
-