public static interface Upload.Receiver extends Serializable
Modifier and Type | Method and Description |
---|---|
OutputStream |
receiveUpload(String filename,
String mimeType)
Invoked when a new upload arrives.
|
OutputStream receiveUpload(String filename, String mimeType)
filename
- the desired filename of the upload, usually as specified
by the client.mimeType
- the MIME type of the uploaded file.Copyright © 2019 Vaadin Ltd. All rights reserved.