Class FileInfo
- java.lang.Object
-
- akka.http.javadsl.server.directives.FileInfo
-
- Direct Known Subclasses:
FileInfo
public abstract class FileInfo extends java.lang.Object
Additional metadata about the file being uploaded/that was uploaded using theFileUploadDirectives
-
-
Constructor Summary
Constructors Constructor Description FileInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ContentType
getContentType()
Content type of the fileabstract java.lang.String
getFieldName()
Name of the form field the file was uploaded inabstract java.lang.String
getFileName()
User specified name of the uploaded file
-
-
-
Method Detail
-
getContentType
public abstract ContentType getContentType()
Content type of the file- Returns:
- (undocumented)
-
getFieldName
public abstract java.lang.String getFieldName()
Name of the form field the file was uploaded in- Returns:
- (undocumented)
-
getFileName
public abstract java.lang.String getFileName()
User specified name of the uploaded file- Returns:
- (undocumented)
-
-