Class PrimefacesFileUploadFilterProperties


  • @ConfigurationProperties("joinfaces.primefaces.file-upload-filter")
    public class PrimefacesFileUploadFilterProperties
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getName()
      Name for the Primefaces FileUpload Filter.
      int getOrder()
      Order for the PrimeFaces FileUpload Filter.
      org.springframework.util.unit.DataSize getThresholdSize()
      Maximum file size in bytes to keep uploaded files in memory.
      java.lang.String getUploadDirectory()
      Disk repository path to keep temporary files that exceeds the threshold size.
      int hashCode()  
      void setName​(java.lang.String name)
      Name for the Primefaces FileUpload Filter.
      void setOrder​(int order)
      Order for the PrimeFaces FileUpload Filter.
      void setThresholdSize​(org.springframework.util.unit.DataSize thresholdSize)
      Maximum file size in bytes to keep uploaded files in memory.
      void setUploadDirectory​(java.lang.String uploadDirectory)
      Disk repository path to keep temporary files that exceeds the threshold size.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PrimefacesFileUploadFilterProperties

        public PrimefacesFileUploadFilterProperties()
    • Method Detail

      • getName

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

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

        public org.springframework.util.unit.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 java.lang.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​(java.lang.String name)
        Name for the Primefaces FileUpload Filter.
      • setOrder

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

        public void setThresholdSize​(org.springframework.util.unit.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​(java.lang.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​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object