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

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

Introduction

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

The text is from its open source code.

Field

Constructor

Method

StringgetContentDispositionFilename(String filename)
Returns the filename formatted for inclusion in a Content-Disposition header.
StringgetContentType()
Gets stream content type.
StringgetFileName()
Returns the file name.
StringgetParameter(String name)
Gets a paramater for download stream.
voidsetBufferSize(int bufferSize)
Sets the size of the download buffer.
voidsetCacheTime(long cacheTime)
Sets length of cache expiration time.
voidsetContentType(String contentType)
Sets stream content type.
voidsetParameter(String name, String value)
Sets a parameter for download stream.
voidwriteResponse(VaadinRequest request, VaadinResponse response)
Writes this download stream to a Vaadin response.