Class AttachmentUploadRequest
java.lang.Object
com.atlassian.confluence.pages.actions.AttachmentUploadRequest
Converts an attachment upload multipart request into a list of
AttachmentResource objects.- Since:
- 3.1
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentUploadRequest(com.atlassian.struts.multipart.AtlassianJakartaMultiPartRequest request) The client should check for errors viaMultiPartRequestWrapper.hasErrors()before constructing this object, and not construct one if there are problems. -
Method Summary
-
Constructor Details
-
AttachmentUploadRequest
public AttachmentUploadRequest(com.atlassian.struts.multipart.AtlassianJakartaMultiPartRequest request) throws IllegalStateException The client should check for errors viaMultiPartRequestWrapper.hasErrors()before constructing this object, and not construct one if there are problems.- Throws:
IllegalStateException- if there are errors in the multipart request- Since:
- 9.1
-
-
Method Details
-
getResources
-
getResourceCount
public int getResourceCount()
-