We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Interface Upload.Receiver
All Superinterfaces:
Enclosing class:
- extends Serializable
public static interface Upload.Receiver
Interface that must be implemented by the upload receivers to provide the Upload component an output stream to write the uploaded data.
Since:
3.0
Version:
6.8.18
Author:
Vaadin Ltd.
Method Summary | |
---|---|
OutputStream |
receiveUpload(String filename,
String mimeType)
Invoked when a new upload arrives. |
Method Detail |
---|
receiveUpload
OutputStream receiveUpload(String filename,
String mimeType)
- 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.
Invoked when a new upload arrives.