603604605606607608609610611612613
HttpEntity entity = response.getEntity(); byte[] data = EntityUtils.toByteArray(entity); list.addBytes(data); requestCount.decrement(); } catch (IOException ex) { requestCount.abort(); return; } if (i < reqNo) { conn.requestInput();
760761762763764765766767768769770
914915916917918919920921922923924
10751076107710781079108010811082108310841085
HttpEntity entity = response.getEntity(); if (entity != null) { try { EntityUtils.toByteArray(entity); } catch (IOException ex) { requestCount.abort(); return; } } list.addResponse(response);
13871388138913901391139213931394139513961397
15171518151915201521152215231524152515261527
String data = EntityUtils.toString(entity); if(!data.equals("Error: " + (i-1))) throw new IOException(); requestCount.decrement(); } catch (IOException ex) { requestCount.abort(); return; } if (i < reqNo) { conn.requestInput();
16361637163816391640164116421643164416451646
17261727172817291730173117321733173417351736
context.setAttribute("RES-COUNT", Integer.valueOf(i)); if(response.getStatusLine().getStatusCode() == 501) requestCount.decrement(); else requestCount.abort(); if (i < reqNo) { conn.requestInput(); } }
18441845184618471848184918501851185218531854
try { HttpEntity entity = response.getEntity(); byte[] data = EntityUtils.toByteArray(entity); if(data.length > 0) requestCount.abort(); else requestCount.decrement(); } catch (IOException ex) { requestCount.abort(); return;
18481849185018511852185318541855185618571858
if(data.length > 0) requestCount.abort(); else requestCount.decrement(); } catch (IOException ex) { requestCount.abort(); return; } if (i < reqNo) { conn.requestInput();