Class FileInfo

java.lang.Object
akka.http.javadsl.server.directives.FileInfo
akka.http.scaladsl.server.directives.FileInfo
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public final class FileInfo extends FileInfo implements scala.Product, 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:
  • Constructor Details

  • Method Details

    • apply

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

      public static String toString()
    • fieldName

      public String fieldName()
    • fileName

      public String fileName()
    • contentType

      public ContentType contentType()
    • getFieldName

      public 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 String getFileName()
      Description copied from class: FileInfo
      User specified name of the uploaded file
      Specified by:
      getFileName in class FileInfo
      Returns:
      (undocumented)
    • getContentType

      public ContentType getContentType()
      Description copied from class: FileInfo
      Content type of the file
      Specified by:
      getContentType in class FileInfo
      Returns:
      (undocumented)