Hi Bernd,

  The response is big which I get from the server  5MB it’s a json response 
.The chartset is UTF-8.
Also the time taken to read response is around 7 seconds .

Can you tell me how can I check first and last byte.

I need to improve the for reading the response and then later I have parse the 
json response.
Any suggestion and help would be great

Thanks,
aparna

From: e...@zusammenkunft.net [mailto:e...@zusammenkunft.net]
Sent: Friday, July 22, 2016 11:39 PM
To: Khare, Aparna <aparna.kh...@sap.com>; httpclient-users@hc.apache.org
Subject: AW: EntityUtils.ToString() is too slow

You need to provide more info, how big is the response, what charset, how long 
does the server take to provide the first and last byte? I would suspect the 
server takes 4,832s.


Gruss
Bernd
--
http://bernd.eckenfels.net
From Win 10 Mobile

Von: Khare, Aparna<mailto:aparna.kh...@sap.com>
Gesendet: Freitag, 22. Juli 2016 14:54
An: httpclient-users@hc.apache.org<mailto:httpclient-users@hc.apache.org>
Betreff: EntityUtils.ToString() is too slow

Dear All,

   I'm trying to use EntityUtils.toString(responseEntity, 
RuntimeAdapterConstants.UTF_8)

Where responseEntity is string to read the json response this is taking around 
5 seconds.

Can you please help how I can improve the turnaround time or use some other api

Thanks,
Aparna

Reply via email to