com.vaadin.terminal.


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
 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