Package de.xima.fc.form.upload
Class AjaxUploadDetails.Builder
- java.lang.Object
 - 
- de.xima.fc.form.upload.AjaxUploadDetails.Builder
 
 
- 
- Enclosing class:
 - AjaxUploadDetails
 
public static final class AjaxUploadDetails.Builder extends Object
Simple builder for anAjaxUploadDetailsinstance. All fields other than time are required!- Since:
 - 8.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AjaxUploadDetailsbuild()AjaxUploadDetails.BuildercontentType(String contentType)AjaxUploadDetails.BuilderfieldName(String fieldName)AjaxUploadDetails.BuilderfileName(String fileName)AjaxUploadDetails.Buildermd5Sum(String md5Sum)AjaxUploadDetails.Buildertime(long time) 
 - 
 
- 
- 
Method Detail
- 
build
public AjaxUploadDetails build()
- Returns:
 - A new instance with the details of this builder.
 
 
- 
contentType
public AjaxUploadDetails.Builder contentType(String contentType)
- Parameters:
 contentType- Content type of the file.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
fieldName
public AjaxUploadDetails.Builder fieldName(String fieldName)
- Parameters:
 fieldName- Field name of the upload.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
fileName
public AjaxUploadDetails.Builder fileName(String fileName)
- Parameters:
 fileName- Original file name of the file.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
md5Sum
public AjaxUploadDetails.Builder md5Sum(String md5Sum)
- Parameters:
 md5Sum- Expected MD5 sum of the entire file.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
time
public AjaxUploadDetails.Builder time(long 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.
 
 
 - 
 
 -