protected java.lang.String |
DefaultAPIClient.acquireAccessToken() |
|
protected <T extends APIEntity> java.lang.String |
AbstractAPIClient.buildUrl(java.lang.String url,
Context<T> context) |
|
void |
AbstractAPIClient.delete(java.lang.String uri) |
|
void |
APIClient.delete(java.lang.String uri) |
Calls DELETE request to API
|
void |
APIResource.delete() |
Deletes the entity owned by this resource in server side.
|
void |
DefaultAPIClient.delete(java.lang.String uri) |
|
protected void |
AbstractAPIClient.deleteOnce(java.lang.String uri) |
|
protected void |
APIEntity.deleteResource(java.lang.String uri) |
|
java.util.Optional<APIDeviceProperty> |
AbstractAPIClient.findDevicePropertyInLabelGroup(java.lang.String groupName,
java.lang.String labelName) |
|
java.util.Optional<APIDeviceProperty> |
APIClient.findDevicePropertyInLabelGroup(java.lang.String groupName,
java.lang.String labelName) |
|
protected <T> T |
AbstractAPIClient.fromJson(java.io.InputStream inputStream,
com.fasterxml.jackson.core.type.TypeReference<T> type) |
|
protected <T> T |
AbstractAPIClient.fromJson(java.lang.String content,
com.fasterxml.jackson.core.type.TypeReference<T> type) |
|
java.io.InputStream |
AbstractAPIClient.get(java.lang.String uri) |
|
<T extends APIEntity> APIList<T> |
AbstractAPIClient.get(java.lang.String uri,
Context<T> context) |
|
<T extends APIEntity> T |
AbstractAPIClient.get(java.lang.String uri,
java.lang.Class<T> type) |
|
java.io.InputStream |
APIClient.get(java.lang.String uri) |
Calls GET request to API.
|
<T extends APIEntity> APIList<T> |
APIClient.get(java.lang.String uri,
Context<T> context) |
|
<T extends APIEntity> T |
APIClient.get(java.lang.String uri,
java.lang.Class<T> type) |
Calls GET request to API
|
java.io.InputStream |
DefaultAPIClient.get(java.lang.String uri) |
|
<T extends APIEntity> T |
DefaultAPIClient.get(java.lang.String uri,
java.lang.Class<T> type) |
|
APIList<T> |
APIListResource.getEntity() |
|
T |
APIResource.getEntity() |
Returns the entity owned by this resource.
|
protected java.io.InputStream |
APIEntity.getFile(java.lang.String uri) |
|
com.google.api.client.http.HttpResponse |
AbstractAPIClient.getHttpResponse(java.lang.String uri,
Context<?> context) |
|
com.google.api.client.http.HttpResponse |
APIClient.getHttpResponse(java.lang.String uri,
Context<?> context) |
|
protected <T extends APIEntity> APIListResource<T> |
APIEntity.getListResource(java.lang.String uri,
Context<T> context) |
|
protected <T extends APIEntity> APIListResource<T> |
APIEntity.getListResource(java.lang.String uri,
java.lang.Class<T> type) |
|
APIListResource<T> |
APIListResource.getNext() |
Returns resource with next page of items in that list.
|
APIList<T> |
APIList.getNextItems() |
|
protected <T extends APIEntity> T |
AbstractAPIClient.getOnce(java.lang.String uri,
Context<?> context,
com.fasterxml.jackson.core.type.TypeReference<T> type) |
Tries to call API once.
|
APIListResource<T> |
APIListResource.getPrevious() |
Returns resource with previous page of items in that list.
|
APIList<T> |
APIList.getPreviousItems() |
|
protected com.google.api.client.http.HttpRequestFactory |
AbstractAPIClient.getRequestFactory() |
|
protected com.google.api.client.http.HttpRequestFactory |
DefaultAPIClient.getRequestFactory() |
|
protected <T extends APIEntity> APIResource<T> |
APIEntity.getResource(java.lang.String uri,
java.lang.Class<T> type) |
|
protected java.io.InputStream |
AbstractAPIClient.getStream(java.lang.String uri) |
|
java.io.InputStream |
APIResource.getStream() |
Calls API and returns response stream as a result.
|
java.lang.Integer |
APIListResource.getTotal() |
Returns total number of available items in this resource list.
|
APIUser |
AbstractAPIClient.me() |
|
APIUser |
APIClient.me() |
Fetch and return me - the authenticated user.
|
<T extends APIEntity> T |
AbstractAPIClient.post(java.lang.String uri,
java.lang.Object body,
java.lang.Class<T> type) |
|
<T extends APIEntity> T |
APIClient.post(java.lang.String uri,
java.lang.Object body,
java.lang.Class<T> type) |
Calls POST request to API
|
<T extends APIEntity> T |
DefaultAPIClient.post(java.lang.String uri,
java.lang.Object body,
java.lang.Class<T> type) |
|
<T extends APIEntity> T |
AbstractAPIClient.postFile(java.lang.String uri,
java.lang.String contentType,
java.io.File file,
java.util.Map<java.lang.String,java.lang.String> fileExtraParams,
java.lang.Class<T> type) |
|
<T extends APIEntity> T |
APIClient.postFile(java.lang.String uri,
java.lang.String contentType,
java.io.File file,
java.util.Map<java.lang.String,java.lang.String> fileExtraParams,
java.lang.Class<T> type) |
Calls POST request to API
|
protected <T extends APIEntity> T |
APIEntity.postFile(java.lang.String uri,
java.io.File file,
java.util.Map<java.lang.String,java.lang.String> fileExtraParams,
java.lang.String contentType,
java.lang.Class<T> type) |
|
<T extends APIEntity> T |
DefaultAPIClient.postFile(java.lang.String uri,
java.lang.String contentType,
java.io.File file,
java.util.Map<java.lang.String,java.lang.String> fileExtraParams,
java.lang.Class<T> type) |
|
protected <T extends APIEntity> T |
AbstractAPIClient.postOnce(java.lang.String uri,
java.lang.Object body,
java.util.Map<java.lang.String,java.lang.String> fileExtraParams,
java.lang.String contentType,
com.fasterxml.jackson.core.type.TypeReference<T> type) |
|
protected <T extends APIEntity> T |
APIEntity.postResource(java.lang.String uri,
java.lang.Object body,
java.lang.Class<T> type) |
|
void |
APIEntity.refresh() |
|
void |
APIList.refresh() |
|
void |
APIResource.refresh() |
Forces retrieving entity from the server side.
|
protected java.lang.String |
DefaultAPIClient.refreshAccessToken() |
|
T |
APIResource.update() |
Updates the entity owned by this resource in server side.
|