Package com.vaadin.flow.component.upload
Class NoOutputStreamEvent
- 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.NoOutputStreamEvent
-
- All Implemented Interfaces:
Serializable
public class NoOutputStreamEvent extends FailedEvent
FailedEvent that indicates that an output stream could not be obtained.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description NoOutputStreamEvent(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
-
NoOutputStreamEvent
public NoOutputStreamEvent(Upload source, String fileName, String mimeType, long length)
Create an instance of the event.- Parameters:
source
- the source of the file.fileName
- the received file name.mimeType
- the MIME type of the received file.length
- the length of the received file.
-
-