- <init>
Creates StreamResource instance using mandatory parameters name as a resource
file name and output s
- getStream
- setCacheTime
Sets the length of cache expiration time. This gives the adapter the possibility
cache streams sent
- setMIMEType
Sets the mime type of the resource.
- setFilename
Sets the filename.
- getCacheTime
Gets the length of cache expiration time. This gives the adapter the possibility
cache streams sent
- getStreamSource
Returns the source for this StreamResource. StreamSource is queried when the
resource is about to be
- getBufferSize
Gets the size of the download buffer used for this resource. If the buffer size
is 0, the buffer siz
- getContentTypeResolver
Gets the resolver which is used to lookup the content type of the resource.
- getFileName
Get the resource file name. The value will be used in URI (generated when
resource is registered) in
- getFilename
Gets the filename.
- getId
Gets unique identifier of the resource.