I am fetching a page with a lot of xml. When I say a lot, I mean a little in terms of computing (~600 KB). For a reason I am unaware of, running EntityUtils.toString(entity) to turn the xml document (httpGet -> URL -> XML) takes about a half hour which is ridiculous on many levels.
I think that there should be a better way to do this. Can anyone fill me in?
Goal:
Alternative (Faster) way to do
HttpGet httpGet = new HttpGet(urlLocation);
HttpResponse response = httpClient.execute(httpGet);
HttpEntity entity = response.getEntity();
String result = EntityUtils.toString(entity); // <--- This guy
httpGet.releaseConnection();