List of usage examples for com.vaadin.server StreamResource subclass-usage
From source file com.esofthead.mycollab.vaadin.ui.ByteArrayImageResource.java
/**
*
* @author MyCollab Ltd.
* @since 2.0
*
*/
From source file com.esofthead.mycollab.vaadin.web.ui.ByteArrayImageResource.java
/** * @author MyCollab Ltd. * @since 2.0 */ public class ByteArrayImageResource extends StreamResource { private static final long serialVersionUID = 1L;
From source file com.foc.web.modules.business.PrnLayout_BrowserWindowOpenerStreamResource.java
public class PrnLayout_BrowserWindowOpenerStreamResource extends StreamResource { private PrintingAction printingAction = null; private PrnLayout prnLayout = null; private String outputFileNameWithoutExtension = null; private String errorMessage = null;
From source file com.hris.global.FileDownloadResource.java
/** * * @author jetdario */ public class FileDownloadResource extends StreamResource {
From source file com.mycollab.vaadin.web.ui.ByteArrayImageResource.java
/** * @author MyCollab Ltd. * @since 2.0 */ public class ByteArrayImageResource extends StreamResource { private static final long serialVersionUID = 1L;
From source file de.symeda.sormas.ui.utils.GridExportStreamResource.java
@SuppressWarnings("serial") public class GridExportStreamResource extends StreamResource { public GridExportStreamResource(Grid<?> grid, String tempFilePrefix, String filename, String... ignoredPropertyIds) { super(new StreamSource() {
From source file de.symeda.sormas.ui.utils.V7GridExportStreamResource.java
@SuppressWarnings("serial") public class V7GridExportStreamResource extends StreamResource { public V7GridExportStreamResource(Indexed container, List<Column> gridColumns, String tempFilePrefix, String filename, String... ignoredPropertyIds) { super(new StreamSource() {
From source file info.magnolia.ui.framework.util.TempFileStreamResource.java
/**
* {@link StreamSource} version which organises streaming via a temporary file.
*
* Streamed content can be populated via {@link OutputStream} provided by {@link #getTempFileOutputStream()}.
* In order to set up the resource the following attributes are required to be set:
* <ul>
From source file info.magnolia.ui.vaadin.server.DownloadStreamResource.java
/** * A subclass of {@link StreamResource} which makes sure #getStream always returns the same instance of {@link DownloadStream}.<br/> * (The superclass always creates a new instance of {@link DownloadStream} when calling #getStream, that way DownloadStream#params gets lost and makes it difficult to add custom response headers. * See JIRA MGNLUI-3274.) */ public class DownloadStreamResource extends StreamResource {