Uses of Interface
org.primefaces.model.file.UploadedFile
Packages that use UploadedFile
Package
Description
-
Uses of UploadedFile in org.primefaces.component.fileupload
Methods in org.primefaces.component.fileupload that return UploadedFileModifier and TypeMethodDescriptionprotected abstract UploadedFileAbstractFileUploadDecoder.createUploadedFile(T request, FileUpload fileUpload, String inputToDecodeId) protected UploadedFileCommonsFileUploadDecoder.createUploadedFile(MultipartRequest request, FileUpload fileUpload, String inputToDecodeId) Deprecated, for removal: This API element is subject to removal in a future version.protected UploadedFileNativeFileUploadDecoder.createUploadedFile(javax.servlet.http.HttpServletRequest request, FileUpload fileUpload, String inputToDecodeId) protected UploadedFileAbstractFileUploadDecoder.processLastChunk(T request, UploadedFile chunk, Path chunksDir, ContentRange contentRange, Long sizeLimit) Methods in org.primefaces.component.fileupload that return types with arguments of type UploadedFileModifier and TypeMethodDescriptionprotected abstract List<UploadedFile>AbstractFileUploadDecoder.createUploadedFiles(T request, FileUpload fileUpload, String inputToDecodeId) protected List<UploadedFile>CommonsFileUploadDecoder.createUploadedFiles(MultipartRequest request, FileUpload fileUpload, String inputToDecodeId) Deprecated, for removal: This API element is subject to removal in a future version.protected List<UploadedFile>NativeFileUploadDecoder.createUploadedFiles(javax.servlet.http.HttpServletRequest request, FileUpload fileUpload, String inputToDecodeId) Methods in org.primefaces.component.fileupload with parameters of type UploadedFileModifier and TypeMethodDescriptionvoidAbstractFileUploadDecoder.decodeContentRange(FileUpload fileUpload, T request, UploadedFile chunk) voidFileUploadChunkDecoder.decodeContentRange(FileUpload fileUpload, T request, UploadedFile chunk) protected UploadedFileAbstractFileUploadDecoder.processLastChunk(T request, UploadedFile chunk, Path chunksDir, ContentRange contentRange, Long sizeLimit) protected voidFileUpload.tryValidateFile(UploadedFile uploadedFile) protected voidAbstractFileUploadDecoder.writeChunk(UploadedFile uploadedFile, Path path, ContentRange contentRange) Method parameters in org.primefaces.component.fileupload with type arguments of type UploadedFileModifier and TypeMethodDescriptionprotected voidFileUpload.tryValidateFiles(List<UploadedFile> files) -
Uses of UploadedFile in org.primefaces.event
Methods in org.primefaces.event that return UploadedFileConstructors in org.primefaces.event with parameters of type UploadedFileModifierConstructorDescriptionFileUploadEvent(javax.faces.component.UIComponent component, UploadedFile file, int totalFilesCount) -
Uses of UploadedFile in org.primefaces.model.file
Classes in org.primefaces.model.file that implement UploadedFileModifier and TypeClassDescriptionclassclassDefault UploadedFile implementation based on Commons FileUpload FileItemclassclassclassInternal wrapper to avoid the file binaries to beeing saved in the ViewState.Methods in org.primefaces.model.file that return UploadedFileMethods in org.primefaces.model.file that return types with arguments of type UploadedFileConstructors in org.primefaces.model.file with parameters of type UploadedFileConstructor parameters in org.primefaces.model.file with type arguments of type UploadedFile -
Uses of UploadedFile in org.primefaces.util
Methods in org.primefaces.util with parameters of type UploadedFileModifier and TypeMethodDescriptionstatic booleanFileUploadUtils.isValidType(PrimeApplicationContext context, UploadedFile uploadedFile, String allowTypes, String accept) Check if an uploaded file meets all specifications regarding its filename and content type.static voidFileUploadUtils.performVirusScan(javax.faces.context.FacesContext facesContext, UploadedFile file) -
Uses of UploadedFile in org.primefaces.validate
Methods in org.primefaces.validate with parameters of type UploadedFileModifier and TypeMethodDescriptionprotected voidFileValidator.validateUploadedFile(javax.faces.context.FacesContext context, UploadedFile uploadedFile, String accept) -
Uses of UploadedFile in org.primefaces.virusscan
Methods in org.primefaces.virusscan with parameters of type UploadedFileModifier and TypeMethodDescriptionvoidVirusScannerService.performVirusScan(UploadedFile file) Perform virus scan and throw exception if at least one registeredVirusScannerprovider has detected a virus.voidVirusScanner.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 UploadedFileModifier and TypeMethodDescriptionprotected StringClamDaemonScanner.createErrorMessage(UploadedFile file, String response) protected StringVirusTotalReportScanner.createErrorMessage(UploadedFile file, org.json.JSONObject json) protected voidVirusTotalReportScanner.handleBodyResponse(UploadedFile file, org.json.JSONObject json) protected URLConnectionVirusTotalReportScanner.openConnection(UploadedFile file) voidClamDaemonScanner.scan(UploadedFile file) Scan file using send to ClamAV service running at host and port over TCP.voidVirusTotalReportScanner.scan(UploadedFile file) Scan file using "/file/report" endpoint