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 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()
-
-
-
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 classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-