Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getStatusLine (0.08 sec)

  1. test-site/app/models/ContentsCreator.java

                    HttpUriRequest request = new HttpGet(url);
                    HttpResponse response = httpClient.execute(request);
                    if(response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {
                        Logger.warn("Error response:" + response.getStatusLine().getStatusCode());
                        EntityUtils.consume(response.getEntity());
                        continue;
                    }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
Back to top