Class FileInfo
java.lang.Object
org.apache.pekko.http.javadsl.server.directives.FileInfo
org.apache.pekko.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
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods 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:FileInfoName of the form field the file was uploaded in- Specified by:
getFieldNamein classFileInfo- Returns:
- (undocumented)
-
getFileName
Description copied from class:FileInfoUser specified name of the uploaded file- Specified by:
getFileNamein classFileInfo- Returns:
- (undocumented)
-
getContentType
Description copied from class:FileInfoContent type of the file- Specified by:
getContentTypein classFileInfo- Returns:
- (undocumented)
-