public final class FileInfo extends FileInfo implements scala.Product, java.io.Serializable
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
Constructor and Description |
---|
FileInfo(java.lang.String fieldName,
java.lang.String fileName,
ContentType contentType) |
Modifier and Type | Method and Description |
---|---|
abstract static R |
apply(T1 v1,
T2 v2,
T3 v3) |
ContentType |
contentType() |
java.lang.String |
fieldName() |
java.lang.String |
fileName() |
ContentType |
getContentType()
Content type of the file
|
java.lang.String |
getFieldName()
Name of the form field the file was uploaded in
|
java.lang.String |
getFileName()
User specified name of the uploaded file
|
static java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public FileInfo(java.lang.String fieldName, java.lang.String fileName, ContentType contentType)
public abstract static R apply(T1 v1, T2 v2, T3 v3)
public static java.lang.String toString()
public java.lang.String fieldName()
public java.lang.String fileName()
public ContentType contentType()
public java.lang.String getFieldName()
FileInfo
getFieldName
in class FileInfo
public java.lang.String getFileName()
FileInfo
getFileName
in class FileInfo
public ContentType getContentType()
FileInfo
getContentType
in class FileInfo