public class AsynchronousProjectRestClient extends AbstractAsynchronousRestClient implements ProjectRestClient
AbstractAsynchronousRestClient.ResponseHandler<T>| Constructor and Description |
|---|
AsynchronousProjectRestClient(URI baseUri,
com.atlassian.httpclient.api.HttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<Iterable<BasicProject>> |
getAllProjects() |
com.atlassian.util.concurrent.Promise<Project> |
getProject(String key) |
com.atlassian.util.concurrent.Promise<Project> |
getProject(URI projectUri) |
call, callAndParse, callAndParse, client, delete, getAndParse, post, post, post, post, postAndParse, postAndParse, put, putAndParsepublic AsynchronousProjectRestClient(URI baseUri, com.atlassian.httpclient.api.HttpClient client)
public com.atlassian.util.concurrent.Promise<Project> getProject(String key)
getProject in interface ProjectRestClientpublic com.atlassian.util.concurrent.Promise<Project> getProject(URI projectUri)
getProject in interface ProjectRestClientpublic com.atlassian.util.concurrent.Promise<Iterable<BasicProject>> getAllProjects()
getAllProjects in interface ProjectRestClientCopyright © 2016 Atlassian. All rights reserved.