Class PrimefacesFileUploadFilterProperties
java.lang.Object
org.joinfaces.autoconfigure.primefaces.PrimefacesFileUploadFilterProperties
@ConfigurationProperties("joinfaces.primefaces.file-upload-filter")
public class PrimefacesFileUploadFilterProperties
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getName()
Name for the Primefaces FileUpload Filter.int
getOrder()
Order for the PrimeFaces FileUpload Filter.Maximum file size in bytes to keep uploaded files in memory.Disk repository path to keep temporary files that exceeds the threshold size.int
hashCode()
void
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.toString()
-
Constructor Details
-
PrimefacesFileUploadFilterProperties
public PrimefacesFileUploadFilterProperties()
-
-
Method Details
-
getName
Name for the Primefaces FileUpload Filter. -
getOrder
public int getOrder()Order for the PrimeFaces FileUpload Filter. -
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
Disk repository path to keep temporary files that exceeds the threshold size. By default it is System.getProperty("java.io.tmpdir") -
setName
Name for the Primefaces FileUpload Filter. -
setOrder
public void setOrder(int order) Order for the PrimeFaces FileUpload Filter. -
setThresholdSize
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
Disk repository path to keep temporary files that exceeds the threshold size. By default it is System.getProperty("java.io.tmpdir") -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-