final case class FileInfo(fieldName: String, fileName: String, contentType: ContentType) extends javadsl.server.directives.FileInfo with Product with Serializable

Additional metadata about the file being uploaded/that was uploaded using the FileUploadDirectives

fieldName

Name of the form field the file was uploaded in

fileName

User specified name of the uploaded file

contentType

Content type of the file

Source
FileUploadDirectives.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileInfo
  2. Serializable
  3. Product
  4. Equals
  5. FileInfo
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FileInfo(fieldName: String, fileName: String, contentType: ContentType)

    fieldName

    Name of the form field the file was uploaded in

    fileName

    User specified name of the uploaded file

    contentType

    Content type of the file

Value Members

  1. val contentType: ContentType
  2. val fieldName: String
  3. val fileName: String
  4. def getContentType: ContentType

    Content type of the file

    Content type of the file

    Definition Classes
    FileInfoFileInfo
  5. def getFieldName: String

    Name of the form field the file was uploaded in

    Name of the form field the file was uploaded in

    Definition Classes
    FileInfoFileInfo
  6. def getFileName: String

    User specified name of the uploaded file

    User specified name of the uploaded file

    Definition Classes
    FileInfoFileInfo
  7. def productElementNames: Iterator[String]
    Definition Classes
    Product