Modifier and Type | Method and Description |
---|---|
IUploadFileWrapper |
IMultipartRequestWrapper.getUploadFile(String name)
获取上传的文件
|
IUploadFileWrapper[] |
IMultipartRequestWrapper.getUploadFiles(String name)
获取上传的文件数组
|
Modifier and Type | Method and Description |
---|---|
Set<IUploadFileWrapper> |
IMultipartRequestWrapper.getUploadFiles()
获取所有的上传文件
|
Modifier and Type | Method and Description |
---|---|
IUploadFileWrapper |
WebContext.getUploadFile(String name) |
IUploadFileWrapper[] |
WebContext.getUploadFiles(String name) |
Modifier and Type | Method and Description |
---|---|
Set<IUploadFileWrapper> |
WebContext.getUploadFiles() |
Modifier and Type | Method and Description |
---|---|
IUploadFileWrapper |
MultipartRequestWrapper.getUploadFile(String name) |
IUploadFileWrapper[] |
MultipartRequestWrapper.getUploadFiles(String name) |
Modifier and Type | Method and Description |
---|---|
Set<IUploadFileWrapper> |
MultipartRequestWrapper.getUploadFiles() |
Modifier and Type | Class and Description |
---|---|
static class |
FileUploadHelper.UploadFileWrapper
上传文件对象包装器
|
Modifier and Type | Method and Description |
---|---|
IUploadFileWrapper[] |
FileUploadHelper.UploadFormWrapper.getFile(String fieldName) |
Modifier and Type | Method and Description |
---|---|
static int |
UploadFileValidator.validate(IUploadFileWrapper value,
Set<String> allowedContentTypes,
int minSize,
int maxSize)
验证上传的文件是否合法
|
Copyright © 2022. All rights reserved.