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 also AjaxUploadManager.
Since:
8.0.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • 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 an AjaxUploadDetails instance. All fields other than time are required!
      Returns:
      A new builder for an AjaxUploadDetails instance.