Package com.vaadin.flow.component.upload
Class SucceededEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Upload>
com.vaadin.flow.component.upload.FinishedEvent
com.vaadin.flow.component.upload.SucceededEvent
- All Implemented Interfaces:
Serializable
SucceededEvent event is sent when the upload is received successfully.
- Author:
- Vaadin Ltd.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionSucceededEvent(Upload source, String fileName, String mimeType, long length) Create an instance of the event. -
Method Summary
Methods inherited from class com.vaadin.flow.component.upload.FinishedEvent
getContentLength, getFileName, getMIMEType, getUploadMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SucceededEvent
Create an instance of the event.- Parameters:
source- the source of the filefileName- the received file namemimeType- the MIME type of the received filelength- the length of the received file
-