Downloadable stream.
Parameters
int The size of the buffer in bytes.
Get the size of the download buffer.
Parameters
Cache time in milliseconds
Get lenght of cache expiration time. This gives the adapter the possibility cache streams sent to the client. The caching may be made in adapter or at the client if the client supports caching. Default is DEFAULT_CACHETIME.
Parameters
name
Name of the parameter to set.
Value of the parameter or null if the parameter does not exist.
Get a paramater for download stream. Parameters are optional information about the downloadable stream and their meaning depends on the used adapter. For example in WebAdapter they are interpreted as HTTP response headers.
Parameters
Iteraror of names or null if no parameters are set.
Get the names of the parameters.
Parameters
bufferSize
The size of the buffer in bytes.
Set the size of the download buffer.
Parameters
cacheTime
The cache time in milliseconds.
Set lenght of cache expiration time. This gives the adapter the possibility cache streams sent to the client. The caching may be made in adapter or at the client if the client supports caching. Zero or negavive value disbales the caching of this stream.
Parameters
name
Name of the parameter to set.
value
Value of the parameter to set.
Set a paramater for download stream. Parameters are optional information about the downloadable stream and their meaning depends on the used adapter. For example in WebAdapter they are interpreted as HTTP response headers. If the parameters by this name exists, the old value is replaced.