Java com.vaadin.server StreamResource fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.server StreamResource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.server StreamResource.

The text is from its open source code.

Subclass

com.vaadin.server.StreamResource has subclasses.
Click this link to see all its subclasses.

Constructor

StreamResource(StreamSource streamSource, String filename)
Creates a new stream resource for downloading from stream.

Method

DownloadStreamgetStream()
voidsetBufferSize(int bufferSize)
Sets the size of the download buffer used for this resource.
voidsetCacheTime(long cacheTime)
Sets the length of cache expiration time.
voidsetFilename(String filename)
Sets the filename.
voidsetMIMEType(String mimeType)
Sets the mime type of the resource.