requestExecute static method
Implementation
static Future<Page<PathResponse>> requestExecute(http.Client httpClient, Uri uri) async {
TypeToken<Page<PathResponse>> type = new TypeToken<Page<PathResponse>>();
ResponseHandler<Page<PathResponse>> responseHandler =
new ResponseHandler<Page<PathResponse>>(type);
return await httpClient.get(uri, headers: RequestBuilder.headers).then((response) {
return responseHandler.handleResponse(response);
});
}