The JadeRestClient Class

The JadeRestClient class represents the REST client itself. It is this class that contains the logic for generating the appropriate Uniform Resource Identifiers (URIs) and headers for the REST request, and establishing the Hypertext Transfer Protocol (HTTP) connection to the server. It depends on two additional classes: the JadeRestRequest class, which represents a specific request that will be made to the server; and the JadeRestResponse class, which represents the response the server made to a specific request.