|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.plugins.rest.resources.AbstractResource
com.atlassian.confluence.plugins.rest.resources.AttachmentResource
public class AttachmentResource
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.plugins.rest.resources.AbstractResource |
|---|
authContext, userAccessor |
| Constructor Summary | |
|---|---|
AttachmentResource(UserAccessor userAccessor,
RestAttachmentManager restAttachmentManager,
SpacePermissionManager spacePermissionManager)
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
get()
This method will always return HTTP 404 (not found) as it can not find attachments without an ID. |
javax.ws.rs.core.Response |
getContent(java.lang.Long id)
Returns a full representation of the attachment for the given ID. |
| Methods inherited from class com.atlassian.confluence.plugins.rest.resources.AbstractResource |
|---|
createRequestContext, getAttachmentUriBuilder, getContentUriBuilder, getCurrentUser, getSpaceUriBuilder, getUserUriBuilder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentResource(UserAccessor userAccessor,
RestAttachmentManager restAttachmentManager,
SpacePermissionManager spacePermissionManager)
| Method Detail |
|---|
public javax.ws.rs.core.Response get()
public javax.ws.rs.core.Response getContent(java.lang.Long id)
id -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||