Package com.vaadin.server
Interface StreamVariable.StreamingEvent
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
StreamVariable.StreamingEndEvent,StreamVariable.StreamingErrorEvent,StreamVariable.StreamingProgressEvent,StreamVariable.StreamingStartEvent
- Enclosing interface:
- StreamVariable
public static interface StreamVariable.StreamingEvent extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetBytesReceived()longgetContentLength()StringgetFileName()StringgetMimeType()
-
-
-
Method Detail
-
getFileName
String getFileName()
- Returns:
- the file name of the streamed file if known
-
getMimeType
String getMimeType()
- Returns:
- the mime type of the streamed file if known
-
getContentLength
long getContentLength()
- Returns:
- the length of the stream (in bytes) if known, else -1
-
getBytesReceived
long getBytesReceived()
- Returns:
- then number of bytes streamed to StreamVariable
-
-