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
public class NoInputStreamEvent extends FailedEvent
FailedEvent that indicates that an input stream could not be obtained.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description NoInputStreamEvent(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, getReason
-
Methods inherited from class com.vaadin.flow.component.upload.FinishedEvent
getFileName, getMIMEType, getUpload
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
NoInputStreamEvent
public NoInputStreamEvent(Upload source, String fileName, String mimeType, long length)
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
-
-