Interface UploadedFile

    • Method Detail

      • getContentType

        String getContentType()
        Returns:
        the MIME type specified when the file was uploaded.
      • getFilePath

        String getFilePath()
        Returns:
        the complete path, as reported by the client browser.
      • getSize

        long getSize()
        Returns:
        the size, in bytes, of the uploaded content.
      • isInMemory

        boolean isInMemory()
        Returns:
        true if the uploaded content is in memory.
      • write

        void write​(File file)
        Writes the content of the file to a known location.
        Parameters:
        file - Location to write file to