Class AjaxHttpUploadStream

AjaxAdapter implementation of the UploadStream interface.

Synopsis

Since

3.1

Inheritance Path.  java.lang.Object-> com.itmill.toolkit.terminal.web.AjaxHttpUploadStream

AjaxHttpUploadStream(String, InputStream, String, String)

Parameters

name

of the stream

stream

input stream

contentName

name of the content

contentType

type of the content

time

Time of event creation (for parallel events (for example in same http request), times are equal)

Creates a new instance of UploadStreamImpl

getContentName()

Parameters

return

Name of the stream content.

Get stream content name. Stream content name usually differs from the actual stream name. it is used toi identify the content of the stream.

getContentType()

Parameters

return

content type of the input stream.

Get input stream content type.

getStream()

Parameters

return

Input stream.

Get input stream.

getStreamName()

Parameters

return

name of the stream.

Get the name of the stream.