public static interface CubaFileUpload.Receiver
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
receiveUpload(java.lang.String fileName,
java.lang.String mimeType)
Invoked when a new upload arrives.
|
java.io.OutputStream receiveUpload(java.lang.String fileName, java.lang.String mimeType)
fileName
- the desired fileName of the upload, usually as specified
by the client.mimeType
- the MIME type of the uploaded file.