Interface FileUpload
-
public interface FileUploadRepresents a file-upload from an HTTP multipart form submission.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcharSet()StringcontentType()StringfileName()Stringname()longsize()PathuploadedFile()
-
-
-
Method Detail
-
name
String name()
- Returns:
- the name of the upload as provided in the form submission.
-
uploadedFile
Path uploadedFile()
- Returns:
- the actual temporary file name on the server where the file was uploaded to.
-
fileName
String fileName()
- Returns:
- the file name of the upload as provided in the form submission.
-
size
long size()
- Returns:
- the size of the upload, in bytes
-
contentType
String contentType()
- Returns:
- the content type (MIME type) of the upload.
-
charSet
String charSet()
- Returns:
- the charset of the upload.
-
-