Uses of Interface
org.primefaces.model.file.UploadedFile
-
Packages that use UploadedFile Package Description org.primefaces.component.fileupload org.primefaces.event org.primefaces.model.file org.primefaces.util org.primefaces.virusscan org.primefaces.virusscan.impl -
-
Uses of UploadedFile in org.primefaces.component.fileupload
Methods in org.primefaces.component.fileupload that return UploadedFile Modifier and Type Method Description protected abstract UploadedFile
AbstractFileUploadDecoder. createUploadedFile(T request, FileUpload fileUpload, String inputToDecodeId)
protected UploadedFile
CommonsFileUploadDecoder. createUploadedFile(MultipartRequest request, FileUpload fileUpload, String inputToDecodeId)
protected UploadedFile
NativeFileUploadDecoder. createUploadedFile(javax.servlet.http.HttpServletRequest request, FileUpload fileUpload, String inputToDecodeId)
protected UploadedFile
AbstractFileUploadDecoder. processLastChunk(T request, UploadedFile chunk, Path chunksDir, ContentRange contentRange)
Methods in org.primefaces.component.fileupload that return types with arguments of type UploadedFile Modifier and Type Method Description protected abstract List<UploadedFile>
AbstractFileUploadDecoder. createUploadedFiles(T request, FileUpload fileUpload, String inputToDecodeId)
protected List<UploadedFile>
CommonsFileUploadDecoder. createUploadedFiles(MultipartRequest request, FileUpload fileUpload, String inputToDecodeId)
protected List<UploadedFile>
NativeFileUploadDecoder. createUploadedFiles(javax.servlet.http.HttpServletRequest request, FileUpload fileUpload, String inputToDecodeId)
Methods in org.primefaces.component.fileupload with parameters of type UploadedFile Modifier and Type Method Description void
AbstractFileUploadDecoder. decodeContentRange(FileUpload fileUpload, T request, UploadedFile chunk)
void
FileUploadChunkDecoder. decodeContentRange(FileUpload fileUpload, T request, UploadedFile chunk)
protected UploadedFile
AbstractFileUploadDecoder. processLastChunk(T request, UploadedFile chunk, Path chunksDir, ContentRange contentRange)
protected void
AbstractFileUploadDecoder. writeChunk(UploadedFile uploadedFile, Path path, ContentRange contentRange)
-
Uses of UploadedFile in org.primefaces.event
Methods in org.primefaces.event that return UploadedFile Modifier and Type Method Description UploadedFile
FileUploadEvent. getFile()
Constructors in org.primefaces.event with parameters of type UploadedFile Constructor Description FileUploadEvent(javax.faces.component.UIComponent component, UploadedFile file)
-
Uses of UploadedFile in org.primefaces.model.file
Classes in org.primefaces.model.file that implement UploadedFile Modifier and Type Class Description class
CommonsUploadedFile
Default UploadedFile implementation based on Commons FileUpload FileItemclass
NativeUploadedFile
class
NIOUploadedFile
class
UploadedFileWrapper
Internal wrapper to avoid the file binaries to beeing saved in the ViewState.Methods in org.primefaces.model.file that return UploadedFile Modifier and Type Method Description UploadedFile
UploadedFileWrapper. getWrapped()
Methods in org.primefaces.model.file that return types with arguments of type UploadedFile Modifier and Type Method Description List<UploadedFile>
UploadedFiles. getFiles()
List<UploadedFile>
UploadedFilesWrapper. getFiles()
Constructors in org.primefaces.model.file with parameters of type UploadedFile Constructor Description UploadedFileWrapper(UploadedFile wrapped)
Constructor parameters in org.primefaces.model.file with type arguments of type UploadedFile Constructor Description UploadedFiles(List<UploadedFile> files)
-
Uses of UploadedFile in org.primefaces.util
Methods in org.primefaces.util with parameters of type UploadedFile Modifier and Type Method Description static boolean
FileUploadUtils. isValidType(PrimeApplicationContext context, FileUpload fileUpload, UploadedFile uploadedFile)
Check if an uploaded file meets all specifications regarding its filename and content type.static void
FileUploadUtils. performVirusScan(javax.faces.context.FacesContext facesContext, UploadedFile file)
static void
FileUploadUtils. tryValidateFile(javax.faces.context.FacesContext context, FileUpload fileUpload, UploadedFile uploadedFile)
Method parameters in org.primefaces.util with type arguments of type UploadedFile Modifier and Type Method Description static void
FileUploadUtils. tryValidateFiles(javax.faces.context.FacesContext context, FileUpload fileUpload, List<UploadedFile> files)
-
Uses of UploadedFile in org.primefaces.virusscan
Methods in org.primefaces.virusscan with parameters of type UploadedFile Modifier and Type Method Description void
VirusScannerService. performVirusScan(UploadedFile file)
Perform virus scan and throw exception if at least one registeredVirusScanner
provider has detected a virus.void
VirusScanner. scan(UploadedFile file)
Perform virus scan and throw exception if a virus has been detected. -
Uses of UploadedFile in org.primefaces.virusscan.impl
Methods in org.primefaces.virusscan.impl with parameters of type UploadedFile Modifier and Type Method Description protected String
ClamDaemonScanner. createErrorMessage(UploadedFile file, String response)
protected String
VirusTotalReportScanner. createErrorMessage(UploadedFile file, org.json.JSONObject json)
protected void
VirusTotalReportScanner. handleBodyResponse(UploadedFile file, org.json.JSONObject json)
protected URLConnection
VirusTotalReportScanner. openConnection(UploadedFile file)
void
ClamDaemonScanner. scan(UploadedFile file)
Scan file using send to ClamAV service running at host and port over TCP.void
VirusTotalReportScanner. scan(UploadedFile file)
Scan file using "/file/report" endpoint
-