Rest DataDescriptors allow you to manage the data served by the Rest webservers. These data descriptors use custom Rest server endpoints, Rest parameters (media type, base path, etc) and handlers to build requests and process the responses, so it has native data access. Native data access also means that there are no entity classes for the data descriptor. When creating a data descriptor, you have to specify the Rest parameters for a given connection. If you don't specify these parameters then the operation cannot be used with the data descriptor.
Specifying the filterHandler, paginationHandler, orderHandler allows you to build your own GET parameters dynamically, before the Rest call.
For example, if the Rest service requires it, the filter parameters can be passed like this:
Then the "?filter=What+do+you+want+to+filter" filter parameter can be built in the parameters of the fileHandler class.
To process the response, use the reponseHandler class. This can be skipped, if the response does not come back as a JSON array.
When implementing handlers, the related interfaces must be implemented as well (by implementing their handle() method). These interfaces are the following: