Class: FileUpload

vertx-web-js/file_upload~ FileUpload

new FileUpload()

Represents a file-upload from an HTTP multipart form submission.

Source:

Methods

charSet() → {string}

Source:
Returns:
  • the charset of the upload
  • Type
    string

contentTransferEncoding() → {string}

Source:
Returns:
  • the content transfer encoding of the upload - this describes how the upload was encoded in the form submission.
  • Type
    string

contentType() → {string}

Source:
Returns:
  • the content type (MIME type) of the upload
  • Type
    string

fileName() → {string}

Source:
Returns:
  • the file name of the upload as provided in the form submission
  • Type
    string

name() → {string}

Source:
Returns:
  • the name of the upload as provided in the form submission
  • Type
    string

size() → {number}

Source:
Returns:
  • the size of the upload, in bytes
  • Type
    number

uploadedFileName() → {string}

Source:
Returns:
  • the actual temporary file name on the server where the file was uploaded to.
  • Type
    string