Class FileInfo

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product

    public final class FileInfo
    extends FileInfo
    implements scala.Product, java.io.Serializable
    Additional metadata about the file being uploaded/that was uploaded using the FileUploadDirectives

    param: fieldName Name of the form field the file was uploaded in param: fileName User specified name of the uploaded file param: contentType Content type of the file

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FileInfo​(java.lang.String fieldName, java.lang.String fileName, ContentType contentType)  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract static R apply​(T1 v1, T2 v2, T3 v3)  
      ContentType contentType()  
      java.lang.String fieldName()  
      java.lang.String fileName()  
      ContentType getContentType()
      Content type of the file
      java.lang.String getFieldName()
      Name of the form field the file was uploaded in
      java.lang.String getFileName()
      User specified name of the uploaded file
      static java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • FileInfo

        public FileInfo​(java.lang.String fieldName,
                        java.lang.String fileName,
                        ContentType contentType)
    • Method Detail

      • apply

        public abstract static R apply​(T1 v1,
                                       T2 v2,
                                       T3 v3)
      • toString

        public static java.lang.String toString()
      • fieldName

        public java.lang.String fieldName()
      • fileName

        public java.lang.String fileName()
      • getFieldName

        public java.lang.String getFieldName()
        Description copied from class: FileInfo
        Name of the form field the file was uploaded in
        Specified by:
        getFieldName in class FileInfo
        Returns:
        (undocumented)
      • getFileName

        public java.lang.String getFileName()
        Description copied from class: FileInfo
        User specified name of the uploaded file
        Specified by:
        getFileName in class FileInfo
        Returns:
        (undocumented)