We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.terminal.
Interface StreamVariable.StreamingEvent
All Superinterfaces:
All Known Subinterfaces:
StreamVariable.StreamingEndEvent, StreamVariable.StreamingErrorEvent, StreamVariable.StreamingProgressEvent, StreamVariable.StreamingStartEvent
Enclosing interface:
- extends Serializable
public static interface StreamVariable.StreamingEvent
Method Summary | |
---|---|
long |
getBytesReceived()
|
long |
getContentLength()
|
String |
getFileName()
|
String |
getMimeType()
|
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