.getFieldToSortBy().trim().isEmpty()) ? "" : (pdbRestRequest
.getFieldToSortBy() + (pdbRestRequest.isAscending() ? " asc"
: " desc"));
-
// Build request parameters for the REST Request
WebResource webResource = client.resource(PDB_SEARCH_ENDPOINT)
.queryParam("wt", "json").queryParam("fl", wantedFields)