Class MemoryFileUpload

All Implemented Interfaces:
Comparable<InterfaceHttpData>, FileUpload, HttpData, InterfaceHttpData

public class MemoryFileUpload extends AbstractMemoryHttpData implements FileUpload
Default FileUpload implementation that stores file into memory.

Warning: be aware of the memory limitation.
  • Field Details

    • filename

      private String filename
    • contentType

      private String contentType
    • contentTransferEncoding

      private String contentTransferEncoding
  • Constructor Details

    • MemoryFileUpload

      public MemoryFileUpload(String name, String filename, String contentType, String contentTransferEncoding, Charset charset, long size)
  • Method Details