Class PrimefacesFileUploadFilterProperties
- java.lang.Object
-
- org.joinfaces.autoconfigure.primefaces.PrimefacesFileUploadFilterProperties
-
@ConfigurationProperties("joinfaces.primefaces.file-upload-filter") public class PrimefacesFileUploadFilterProperties extends Object
-
-
Constructor Summary
Constructors Constructor Description PrimefacesFileUploadFilterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getName()
Name for the Primefaces FileUpload Filter.int
getOrder()
Order for the PrimeFaces FileUpload Filter.DataSize
getThresholdSize()
Maximum file size in bytes to keep uploaded files in memory.String
getUploadDirectory()
Disk repository path to keep temporary files that exceeds the threshold size.int
hashCode()
void
setName(String name)
Name for the Primefaces FileUpload Filter.void
setOrder(int order)
Order for the PrimeFaces FileUpload Filter.void
setThresholdSize(DataSize thresholdSize)
Maximum file size in bytes to keep uploaded files in memory.void
setUploadDirectory(String uploadDirectory)
Disk repository path to keep temporary files that exceeds the threshold size.String
toString()
-
-
-
Method Detail
-
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")
-
canEqual
protected boolean canEqual(Object other)
-
-