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, waitpublic 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()
FileInfogetFieldName in class FileInfopublic java.lang.String getFileName()
FileInfogetFileName in class FileInfopublic ContentType getContentType()
FileInfogetContentType in class FileInfo