Package de.xima.fc.form.upload
Class AjaxUploadDetails.Builder
java.lang.Object
de.xima.fc.form.upload.AjaxUploadDetails.Builder
- Enclosing class:
- AjaxUploadDetails
Simple builder for an
AjaxUploadDetails
instance. All fields other than time are required!- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
-
Method Details
-
build
- Returns:
- A new instance with the details of this builder.
-
contentType
- Parameters:
contentType
- Content type of the file.- Returns:
- This builder instance for chaining method calls.
-
fieldName
- Parameters:
fieldName
- Field name of the upload.- Returns:
- This builder instance for chaining method calls.
-
fileName
- Parameters:
fileName
- Original file name of the file.- Returns:
- This builder instance for chaining method calls.
-
md5Sum
- Parameters:
md5Sum
- Expected MD5 sum of the entire file.- Returns:
- This builder instance for chaining method calls.
-
time
- Parameters:
time
- 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.- Returns:
- This builder instance for chaining method calls.
-