Class InMemoryUploadHandler

All Implemented Interfaces:
ElementRequestHandler, UploadHandler, Serializable

public class InMemoryUploadHandler extends AbstractUploadHandler<InMemoryUploadHandler>
Upload handler for storing the upload in-memory. Data is returned as a byte[] to the given successHandler.
Since:
24.8
See Also:
  • Constructor Details

  • Method Details

    • handleUploadRequest

      public void handleUploadRequest(UploadEvent event) throws IOException
      Description copied from interface: UploadHandler
      Method that is called when the client wants to upload data to the url stored for this specific handler registration.

      After upload of all files is done the method UploadHandler.responseHandled(UploadResult) will be called.

      Parameters:
      event - upload event containing the necessary data for getting the request
      Throws:
      IOException - if an error occurs during upload