Interface PluggableAttachmentValidator.FileInfo

All Known Implementing Classes:
FileInfoImpl
Enclosing interface:
PluggableAttachmentValidator

public static interface PluggableAttachmentValidator.FileInfo
Information about the file being attached.
  • Method Summary

    Modifier and Type
    Method
    Description
    Content-Type of the file being attached, as per HTTP request header.
    Name of the file being attached.
    long
    Size of the file being attached, in bytes.
  • Method Details

    • getFileName

      String getFileName()
      Name of the file being attached.
    • getFileSize

      long getFileSize()
      Size of the file being attached, in bytes.
    • getContentType

      String getContentType()
      Content-Type of the file being attached, as per HTTP request header. Note that this is not validated against the actual content of the attached file.