Interface AttachmentResource
-
public interface AttachmentResource
- Version:
- $Id: c496f4f26e34508b534516439f39aa2a4ae2fb3f $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteAttachment(String wikiName, String spaceName, String pageName, String attachmentName)
javax.ws.rs.core.Response
getAttachment(String wikiName, String spaceName, String pageName, String attachmentName)
javax.ws.rs.core.Response
putAttachment(String wikiName, String spaceName, String pageName, String attachmentName, byte[] content)
-
-
-
Method Detail
-
getAttachment
javax.ws.rs.core.Response getAttachment(String wikiName, @Encoded String spaceName, String pageName, String attachmentName) throws XWikiRestException
- Throws:
XWikiRestException
-
putAttachment
javax.ws.rs.core.Response putAttachment(String wikiName, @Encoded String spaceName, String pageName, String attachmentName, byte[] content) throws XWikiRestException, AttachmentValidationException
-
deleteAttachment
void deleteAttachment(String wikiName, @Encoded String spaceName, String pageName, String attachmentName) throws XWikiRestException
- Throws:
XWikiRestException
-
-