public interface UserRestClient
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<User> |
getUser(String username)
Retrieves detailed information about selected user.
|
com.atlassian.util.concurrent.Promise<User> |
getUser(URI userUri)
Retrieves detailed information about selected user.
|
com.atlassian.util.concurrent.Promise<User> getUser(String username)
getUser(URI)
instead as that method is more RESTful (well connected)username
- JIRA username/loginRestClientException
- in case of problems (connectivity, malformed messages, etc.)com.atlassian.util.concurrent.Promise<User> getUser(URI userUri)
getUser(String)
as com.atlassian.jira.rest.it's more RESTful (well connected)userUri
- URI of user resourceRestClientException
- in case of problems (connectivity, malformed messages, etc.)Copyright © 2013 Atlassian. All Rights Reserved.