Class PrimefacesFileUploadFilterProperties

java.lang.Object
org.joinfaces.autoconfigure.primefaces.PrimefacesFileUploadFilterProperties

@ConfigurationProperties("joinfaces.primefaces.file-upload-filter") public class PrimefacesFileUploadFilterProperties extends Object
  • Constructor Details

    • PrimefacesFileUploadFilterProperties

      public PrimefacesFileUploadFilterProperties()
  • Method Details

    • getName

      public String getName()
      Name for the Primefaces FileUpload Filter.
    • getOrder

      public int getOrder()
      Order for the PrimeFaces FileUpload Filter.
    • getThresholdSize

      public DataSize getThresholdSize()
      Maximum file size in bytes to keep uploaded files in memory. If a file exceeds this limit, it’ll be temporarily written to disk.
    • getUploadDirectory

      public String getUploadDirectory()
      Disk repository path to keep temporary files that exceeds the threshold size. By default it is System.getProperty("java.io.tmpdir")
    • setName

      public void setName(String name)
      Name for the Primefaces FileUpload Filter.
    • setOrder

      public void setOrder(int order)
      Order for the PrimeFaces FileUpload Filter.
    • setThresholdSize

      public void setThresholdSize(DataSize thresholdSize)
      Maximum file size in bytes to keep uploaded files in memory. If a file exceeds this limit, it’ll be temporarily written to disk.
    • setUploadDirectory

      public void setUploadDirectory(String uploadDirectory)
      Disk repository path to keep temporary files that exceeds the threshold size. By default it is System.getProperty("java.io.tmpdir")
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object