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 TypeMethodDescriptionContent-Type of the file being attached, as per HTTP request header.Name of the file being attached.longSize 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.
-