java.lang.Object | |
↳ | com.kinvey.java.CustomEndpoints |
Class for managing access to custom endpoints.
After defining a Custom Endpoint on a backend at Kinvey, this class can be used to execute remote commands.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CustomEndpoints(AbstractClient client)
Create a new instance, should only be called by an
AbstractClient . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CustomEndpoints.CustomCommandArray |
callEndpointArrayBlocking(String endpoint, GenericJson input)
Execute a Custom Endpoint which returns an array of JSON elements.
| ||||||||||
CustomEndpoints.CustomCommand |
callEndpointBlocking(String endpoint, GenericJson input)
Execute a Custom Endpoint which returns a single JSON element
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a new instance, should only be called by an AbstractClient
.
client | - an active logged in Client |
---|
Execute a Custom Endpoint which returns an array of JSON elements.
endpoint | - the name of the Custom Endpoint |
---|---|
input | - any required input, can be null |
IOException |
---|
Execute a Custom Endpoint which returns a single JSON element
endpoint | - the name of the Custom Endpoint |
---|---|
input | - any required input, can be null |
IOException |
---|