java.lang.Object | |
↳ | com.atlassian.jira.rest.util.AttachmentHelper |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AttachmentHelper.ValidationError | |||||||||||
AttachmentHelper.ValidationResult |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Validates the uploaded image.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Validates the uploaded image. Validation includes - XSRF token check - Filename check (is it blank) - Size is not valid (Either not supplied by the client or is 0) - Filesize is above the max attachment size
request | where the image data is |
---|---|
filename | filename of image |
size | size of image |