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
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 Summary
-
Method Summary
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 Details
-
FileInfo
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3) -
toString
-
fieldName
-
fileName
-
contentType
-
getFieldName
Description copied from class:FileInfo
Name of the form field the file was uploaded in- Specified by:
getFieldName
in classFileInfo
- Returns:
- (undocumented)
-
getFileName
Description copied from class:FileInfo
User specified name of the uploaded file- Specified by:
getFileName
in classFileInfo
- Returns:
- (undocumented)
-
getContentType
Description copied from class:FileInfo
Content type of the file- Specified by:
getContentType
in classFileInfo
- Returns:
- (undocumented)
-