Package de.xima.fc.form.upload
Class AjaxUploadDetails
- java.lang.Object
-
- de.xima.fc.form.upload.AjaxUploadDetails
-
public final class AjaxUploadDetails extends Object
Details with meta data for an AJAX upload, see alsoAjaxUploadManager
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AjaxUploadDetails.Builder
Simple builder for anAjaxUploadDetails
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AjaxUploadDetails.Builder
builder()
Creates a simple builder for anAjaxUploadDetails
instance.String
contentType()
String
fieldName()
String
fileName()
String
md5Sum()
long
time()
-
-
-
Method Detail
-
contentType
public String contentType()
- Returns:
- Content type of the file.
-
fieldName
public String fieldName()
- Returns:
- Field name of the upload.
-
fileName
public String fileName()
- Returns:
- Original file name of the file.
-
md5Sum
public String md5Sum()
- Returns:
- MD5 sum of the entire file.
-
time
public long time()
- Returns:
- Time when the request was made. Note that this is not required to correspond to a physicial time, the only requirement for this number is that a larger number implies that a request was made later.
-
builder
public static AjaxUploadDetails.Builder builder()
Creates a simple builder for anAjaxUploadDetails
instance. All fields other than time are required!- Returns:
- A new builder for an
AjaxUploadDetails
instance.
-
-