Method Summary |
|
public int | getBufferSize() Get the size of the download buffer. |
public long | getCacheTime() Get lenght of cache expiracy 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. |
public String | getContentType() Get stream content type. |
public String | getFileName() Returns the file name. |
public String | getParameter(String name) Get a paramater for download stream.
Parameters are optional information about the downloadable stream
and their meaning depends on the used adapter. |
public Iterator | getParameterNames() Get the names of the parameters. |
public InputStream | getStream() Get downloadable stream. |
public void | setBufferSize(int bufferSize) Set the size of the download buffer. |
public void | setCacheTime(long cacheTime) Set lenght of cache expiracy 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. |
public void | setContentType(String contentType) Set stream content type. |
public void | setFileName(String fileName) Sets the file name. |
public void | setParameter(String name, String value) Set a paramater for download stream.
Parameters are optional information about the downloadable stream
and their meaning depends on the used adapter. |
public void | setStream(InputStream stream) Sets the stream. |