Module io.avaje.jex
Package io.avaje.jex

Interface UploadedFile


public interface UploadedFile
An uploaded file.
  • Method Summary

    Modifier and Type Method Description
    InputStream content()
    Return the file content as InputStream.
    String contentType()
    Return the content type for this part.
    void delete()  
    String fileName()
    Return the submitted file name.
    String name()
    Return the name of the part.
    long size()
    Return the size.
  • Method Details

    • name

      String name()
      Return the name of the part.
    • fileName

      String fileName()
      Return the submitted file name.
    • content

      InputStream content()
      Return the file content as InputStream.
    • contentType

      String contentType()
      Return the content type for this part.
    • size

      long size()
      Return the size.
    • delete

      void delete()