Package co.arago.hiro.client.rest
Class AppAPI.GetContentCommand
- java.lang.Object
-
- co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf<AppAPI.GetContentCommand,HttpResponseParser>
-
- co.arago.hiro.client.rest.AppAPI.GetContentCommand
-
- Enclosing class:
- AppAPI
public class AppAPI.GetContentCommand extends AuthenticatedAPIHandler.APIRequestConf<AppAPI.GetContentCommand,HttpResponseParser>
Get the content of an applicationAPI GET /api/app/[version]/{ogit/_id}/content/{path}
- 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 protectedGetContentCommand(java.lang.String ogitId, java.lang.String... path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponseParserexecute()protected AppAPI.GetContentCommandself()-
Methods inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
setHttpHeaders, setHttpRequestTimeout, setMaxRetries, setUrlFragment, setUrlQuery
-
-
-
-
Method Detail
-
self
protected AppAPI.GetContentCommand self()
- Specified by:
selfin classAuthenticatedAPIHandler.APIRequestConf<AppAPI.GetContentCommand,HttpResponseParser>
-
execute
public HttpResponseParser execute() throws HiroException, java.io.IOException, java.lang.InterruptedException
- Specified by:
executein classAuthenticatedAPIHandler.APIRequestConf<AppAPI.GetContentCommand,HttpResponseParser>- Returns:
- A
HttpResponseParserwith the result data. - Throws:
HiroException- TokenAPIHandler.java.io.IOException- When the call got an IO error.java.lang.InterruptedException- When the call gets interrupted.
-
-