Package com.vaadin.flow.server.streams
package com.vaadin.flow.server.streams
-
ClassDescriptionAbstractDownloadHandler<R extends AbstractDownloadHandler>Abstract class for common methods used in pre-made download handlers.Abstract class for file upload handler.AbstractUploadHandler<R extends AbstractUploadHandler>Base class for the pre-made upload handlers, adding support for synchronous
UploadValidators on top of the transfer progress handling.Download handler for serving a class resource.Class containing meta-data for handling the requested client download.Provides a flexible high-level abstraction for implementing file and arbitrary content downloads from server to client in Vaadin applications.Data class containing required information for sending the given input stream to the client.Request handler callback for handing client-server or server-client data transfer scoped to a specific (owner) element.Download handler for use with a given File that will be read and written as binary data to the response.File factory interface for generating file to store the uploaded data into.Callback interface for handling file uploads inAbstractFileUploadHandler.Upload handler that stores the data into a file generated by the givenFileFactory.Callback interface for handling in-memory uploads inInMemoryUploadHandler.Upload handler for storing the upload in-memory.A callback for providing an InputStream, other download meta-data and handling logic forInputStreamDownloadHandler.Download handler for serving an input stream for client download.Download handler for serving a servlet resource for client download.File factory to generate a temporary file for given file nameUpload handler that stores the data into a temporary file.A context that is given to all data transfer progress listeners.TransferProgressAwareHandler<T,R extends TransferProgressAwareHandler> Abstract class for common methods used in pre-made transfer progress handlers.Interface for listening to transfer progress events.Callback for validating a fully received upload before it is delivered, used withAbstractUploadHandler.validateComplete(UploadCompleteCallback).A handle to a fully received upload, passed toUploadValidator.validateComplete(UploadEvent, UploadContent)so that whole-content checks (for example antivirus scanning) can inspect the data before it is delivered to the success callback.Class containing data on requested client upload to server.Provides a flexible high-level abstraction for implementing file and arbitrary content uploads from client to server in Vaadin applications.JSON response structure for mixed upload results.JSON response structure for rejected files.Callback for validating the leading bytes of an upload, used withAbstractUploadHandler.validateHeader(int, UploadHeaderCallback).Metadata for successful upload.Callback for validating an upload's metadata before any data is read, used withAbstractUploadHandler.validateMetadata(UploadMetadataCallback).Signals that an upload was rejected by anUploadValidator.Represents the result of an upload operation.Represents a rejected file with its rejection reason.Validates an upload synchronously while it is being received, allowing it to be refused before it is stored.