public class

AttachmentUploadRequest

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.pages.actions.AttachmentUploadRequest

Class Overview

Converts an attachment upload multipart request into a list of AttachmentResource objects which is suitable for storing in Confluence via a FileStorer.

Summary

Public Constructors
AttachmentUploadRequest(MultiPartRequestWrapper request)
The client should check for errors via hasErrors() before constructing this object, and not construct one if there are problems.
Public Methods
int getResourceCount()
List<AttachmentResource> getResources()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AttachmentUploadRequest (MultiPartRequestWrapper request)

The client should check for errors via hasErrors() before constructing this object, and not construct one if there are problems.

Throws
IllegalStateException if there are errors in the multipart request

Public Methods

public int getResourceCount ()

public List<AttachmentResource> getResources ()