@java.lang.annotation.Target(value: [FIELD, PARAMETER, ANNOTATION_TYPE]) @java.lang.annotation.Retention(value: RUNTIME) @jakarta.validation.Constraint(validatedBy: MimeTypeValidator) @java.lang.annotation.Documented @interface MimeType
Ensures that FileUploads are of a particular MIME type. Examples of values include:
image/* application/pdf
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |