Class FileInfo

java.lang.Object
akka.http.javadsl.server.directives.FileInfo
Direct Known Subclasses:
FileInfo

public abstract class FileInfo extends Object
Additional metadata about the file being uploaded/that was uploaded using the FileUploadDirectives
  • Constructor Details

    • FileInfo

      public FileInfo()
  • Method Details

    • getContentType

      public abstract ContentType getContentType()
      Content type of the file
      Returns:
      (undocumented)
    • getFieldName

      public abstract String getFieldName()
      Name of the form field the file was uploaded in
      Returns:
      (undocumented)
    • getFileName

      public abstract String getFileName()
      User specified name of the uploaded file
      Returns:
      (undocumented)