Right now are using below call and then converting response to String as below.
Response response = restClient.performRequest(new Request("GET", "/"));
String responseBody = EntityUtils.toString(response.getEntity());
Is there any way to get the response from performRequest directly as String?
In our case, we have huge time spent on this toString() which we want to avoid.
Any clues on this will be greatly appreciated.