Class PrimefacesFileUploadFilterProperties
java.lang.Object
org.joinfaces.autoconfigure.primefaces.PrimefacesFileUploadFilterProperties
@ConfigurationProperties("joinfaces.primefaces.file-upload-filter")
public class PrimefacesFileUploadFilterProperties
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetName()Name for the Primefaces FileUpload Filter.intgetOrder()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.inthashCode()voidName for the Primefaces FileUpload Filter.voidsetOrder(int order) Order for the PrimeFaces FileUpload Filter.voidsetThresholdSize(DataSize thresholdSize) Maximum file size in bytes to keep uploaded files in memory.voidsetUploadDirectory(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
-