FileInfo

org.apache.pekko.http.scaladsl.server.directives.FileInfo
final case class FileInfo(fieldName: String, fileName: String, contentType: ContentType) extends FileInfo

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

Value parameters

contentType

Content type of the file

fieldName

Name of the form field the file was uploaded in

fileName

User specified name of the uploaded file

Attributes

Source
FileUploadDirectives.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class FileInfo
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def getContentType: ContentType

Content type of the file

Content type of the file

Attributes

Definition Classes
Source
FileUploadDirectives.scala
override def getFieldName: String

Name of the form field the file was uploaded in

Name of the form field the file was uploaded in

Attributes

Definition Classes
Source
FileUploadDirectives.scala
override def getFileName: String

User specified name of the uploaded file

User specified name of the uploaded file

Attributes

Definition Classes
Source
FileUploadDirectives.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product