Class PrimefacesFileUploadFilterProperties
- java.lang.Object
-
- org.joinfaces.autoconfigure.primefaces.PrimefacesFileUploadFilterProperties
-
@ConfigurationProperties("joinfaces.primefaces.file-upload-filter") public class PrimefacesFileUploadFilterProperties extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PrimefacesFileUploadFilterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetName()Name for the Primefaces FileUpload Filter.intgetOrder()Order for the PrimeFaces FileUpload Filter.org.springframework.util.unit.DataSizegetThresholdSize()Maximum file size in bytes to keep uploaded files in memory.java.lang.StringgetUploadDirectory()Disk repository path to keep temporary files that exceeds the threshold size.inthashCode()voidsetName(java.lang.String name)Name for the Primefaces FileUpload Filter.voidsetOrder(int order)Order for the PrimeFaces FileUpload Filter.voidsetThresholdSize(org.springframework.util.unit.DataSize thresholdSize)Maximum file size in bytes to keep uploaded files in memory.voidsetUploadDirectory(java.lang.String uploadDirectory)Disk repository path to keep temporary files that exceeds the threshold size.java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-