Package com.vaadin.flow.component.upload
Class NoInputStreamEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Upload>
com.vaadin.flow.component.upload.FinishedEvent
com.vaadin.flow.component.upload.FailedEvent
com.vaadin.flow.component.upload.NoInputStreamEvent
- All Implemented Interfaces:
Serializable
FailedEvent that indicates that an input stream could not be obtained.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionNoInputStreamEvent(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.FailedEvent
getContentLength, getReasonMethods inherited from class com.vaadin.flow.component.upload.FinishedEvent
getFileName, getMIMEType, getUploadMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
NoInputStreamEvent
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
-