public abstract class AbstractResource extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.plugins.rest.common.security.AuthenticationContext |
authContext |
protected javax.ws.rs.core.UriInfo |
uriInfo |
protected UserAccessor |
userAccessor |
Constructor and Description |
---|
AbstractResource(UserAccessor userAccessor,
SpacePermissionManager spm) |
Modifier and Type | Method and Description |
---|---|
protected RequestContext |
createRequestContext() |
protected javax.ws.rs.core.UriBuilder |
getAnonymousUserUriBuilder() |
protected javax.ws.rs.core.UriBuilder |
getAttachmentUriBuilder() |
protected javax.ws.rs.core.UriBuilder |
getContentUriBuilder() |
protected com.atlassian.user.User |
getCurrentUser() |
protected javax.ws.rs.core.UriBuilder |
getMissingUserUriBuilder() |
protected javax.ws.rs.core.UriBuilder |
getSpaceUriBuilder() |
protected javax.ws.rs.core.UriBuilder |
getUserUriBuilder() |
protected final UserAccessor userAccessor
@Context protected com.atlassian.plugins.rest.common.security.AuthenticationContext authContext
@Context protected javax.ws.rs.core.UriInfo uriInfo
public AbstractResource(UserAccessor userAccessor, SpacePermissionManager spm)
protected javax.ws.rs.core.UriBuilder getContentUriBuilder()
protected javax.ws.rs.core.UriBuilder getSpaceUriBuilder()
protected javax.ws.rs.core.UriBuilder getAttachmentUriBuilder()
protected javax.ws.rs.core.UriBuilder getUserUriBuilder()
protected javax.ws.rs.core.UriBuilder getAnonymousUserUriBuilder()
protected javax.ws.rs.core.UriBuilder getMissingUserUriBuilder()
protected com.atlassian.user.User getCurrentUser()
protected RequestContext createRequestContext()
Copyright © 2003–2015 Atlassian. All rights reserved.