MultipartFile.See: Description
| Annotation Type | Description |
|---|---|
| ContentType |
The MultipartFile must match a ContentType.
|
| ContentType.List |
Defines several
ContentType annotations on the same element. |
| Image |
The MultipartFile must be an image.
|
| Image.List |
Defines several
Image annotations on the same element. |
| NotEmptyBlob |
The
Blob must not be empty. |
| NotEmptyUpload |
The MultipartFile must not be empty.
|
| NotEmptyUpload.List |
Defines several
NotEmptyUpload annotations on the same element. |
| UploadSize | Deprecated
Use @
Size annotation. |
| UploadSize.List |
Defines several
UploadSize annotations on the same element. |
MultipartFile.
If you want to use these constraints you have to provide spring-web.MultipartFileCopyright © 2016. All rights reserved.