|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.plugins.rest.link.LinkServiceImpl
public class LinkServiceImpl
Constructor Summary | |
---|---|
LinkServiceImpl(com.atlassian.sal.api.ApplicationProperties applicationProperties)
|
Method Summary | |
---|---|
void |
addLinks(RestResource resource,
String resourceLocation)
Add links to the resource. |
void |
addLinks(RestResource resource,
javax.ws.rs.core.UriInfo uriInfo)
Add links to the resource. |
void |
addPaginationLinks(PageResponse response,
String resourceLocation)
Add pagination links to the pageResponse. |
void |
addPaginationLinks(PageResponse response,
javax.ws.rs.core.UriInfo uriInfo)
Add pagination links to the pageResponse. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkServiceImpl(com.atlassian.sal.api.ApplicationProperties applicationProperties)
Method Detail |
---|
public void addLinks(@NotNull RestResource resource, @NotNull javax.ws.rs.core.UriInfo uriInfo)
LinkService
addLinks
in interface LinkService
resource
- the resource ready to go back to the useruriInfo
- information about the current requestpublic void addLinks(@NotNull RestResource resource, @NotNull String resourceLocation)
LinkService
addLinks
in interface LinkService
resource
- the resource ready to go back to the userresourceLocation
- the url for the resource being returnedpublic void addPaginationLinks(@NotNull PageResponse response, @NotNull javax.ws.rs.core.UriInfo uriInfo)
LinkService
addPaginationLinks
in interface LinkService
response
- the paged response ready to go back to the useruriInfo
- information about the current requestpublic void addPaginationLinks(@NotNull PageResponse response, @NotNull String resourceLocation)
LinkService
addPaginationLinks
in interface LinkService
response
- the paged response ready to go back to the userresourceLocation
- the url for the resource being paged
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |