Class FileUpload


  • public class FileUpload
    extends Object
    Represents a file-upload from an HTTP multipart form submission.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • FileUpload

        public FileUpload​(io.vertx.ext.web.FileUpload delegate)
      • FileUpload

        public FileUpload​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.FileUpload getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • name

        public String name()
        Returns:
        the name of the upload as provided in the form submission
      • uploadedFileName

        public String uploadedFileName()
        Returns:
        the actual temporary file name on the server where the file was uploaded to.
      • fileName

        public String fileName()
        Returns:
        the file name of the upload as provided in the form submission
      • size

        public long size()
        Returns:
        the size of the upload, in bytes
      • contentType

        public String contentType()
        Returns:
        the content type (MIME type) of the upload
      • contentTransferEncoding

        public String contentTransferEncoding()
        Returns:
        the content transfer encoding of the upload - this describes how the upload was encoded in the form submission.
      • charSet

        public String charSet()
        Returns:
        the charset of the upload
      • cancel

        public boolean cancel()
        Returns:
        true when the upload was cancelled, false when the upload is finished and the file is available
      • newInstance

        public static FileUpload newInstance​(io.vertx.ext.web.FileUpload arg)