Package co.arago.hiro.client.rest
Class AuthAPI.GetMeRolesCommand
- java.lang.Object
-
- co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf<AuthAPI.GetMeRolesCommand,HiroMessage>
-
- co.arago.hiro.client.rest.AuthAPI.GetMeRolesCommand
-
- Enclosing class:
- AuthAPI
public class AuthAPI.GetMeRolesCommand extends AuthenticatedAPIHandler.APIRequestConf<AuthAPI.GetMeRolesCommand,HiroMessage>
get roles connected to of current token teamsAPI GET /api/auth/[version]/me/roles
- See Also:
- API Documentation
-
-
Field Summary
-
Fields inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
fragment, headers, httpRequestTimeout, maxRetries, path, query
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGetMeRolesCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HiroMessageexecute()protected AuthAPI.GetMeRolesCommandself()-
Methods inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
setHttpHeaders, setHttpRequestTimeout, setMaxRetries, setUrlFragment, setUrlQuery
-
-
-
-
Method Detail
-
self
protected AuthAPI.GetMeRolesCommand self()
- Specified by:
selfin classAuthenticatedAPIHandler.APIRequestConf<AuthAPI.GetMeRolesCommand,HiroMessage>
-
execute
public HiroMessage execute() throws HiroException, java.io.IOException, java.lang.InterruptedException
- Specified by:
executein classAuthenticatedAPIHandler.APIRequestConf<AuthAPI.GetMeRolesCommand,HiroMessage>- Returns:
- A
HiroMessagewith the result data. - Throws:
HiroException- When the call returns a http status error.java.io.IOException- When the call got an IO error.java.lang.InterruptedException- When the call gets interrupted.
-
-