@Deprecated public class PrototypeAttachmentResource extends AbstractResource
authContext, uriInfo, userAccessor
Constructor and Description |
---|
PrototypeAttachmentResource(UserAccessor userAccessor,
RestAttachmentManager restAttachmentManager,
SpacePermissionManager spacePermissionManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
get()
Deprecated.
This method will always return HTTP 404 (not found) as it can not find
attachments without an ID.
|
javax.ws.rs.core.Response |
getContent(Long id)
Deprecated.
Returns a full representation of the attachment for the given ID.
|
createRequestContext, getAnonymousUserUriBuilder, getAttachmentUriBuilder, getContentUriBuilder, getCurrentUser, getMissingUserUriBuilder, getSpaceUriBuilder, getUserUriBuilder
public PrototypeAttachmentResource(UserAccessor userAccessor, RestAttachmentManager restAttachmentManager, SpacePermissionManager spacePermissionManager)
public javax.ws.rs.core.Response get()
public javax.ws.rs.core.Response getContent(Long id)
id
- Copyright © 2003–2019 Atlassian. All rights reserved.