public class AttachmentUploadRequest extends Object
AttachmentResource
objects
which is suitable for storing in Confluence via a FileStorer
.Constructor and Description |
---|
AttachmentUploadRequest(com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper request)
The client should check for errors via
MultiPartRequestWrapper.hasErrors() before
constructing this object, and not construct one if there are problems. |
Modifier and Type | Method and Description |
---|---|
int |
getResourceCount() |
List<AttachmentResource> |
getResources() |
public AttachmentUploadRequest(com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper request) throws IllegalStateException
MultiPartRequestWrapper.hasErrors()
before
constructing this object, and not construct one if there are problems.IllegalStateException
- if there are errors in the multipart requestpublic List<AttachmentResource> getResources()
public int getResourceCount()
Copyright © 2003–2017 Atlassian. All rights reserved.