- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getStatusLine (0.08 sec)
-
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
httpPost.setEntity(postEntity); try (CloseableHttpResponse response = httpClient.execute(httpPost)) { if (response.getStatusLine().getStatusCode() != Constants.OK_STATUS_CODE) { logger.error("Failed to access {}, code: {}.", url, response.getStatusLine().getStatusCode()); return null; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 10K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
} httpRequest = new HttpGet(buf.toString()); } executor.accept(httpRequest, (response, entity) -> { final int httpStatusCode = response.getStatusLine().getStatusCode(); if (httpStatusCode < 400 || httpStatusCode == 401) { parseTokenPage(tokenPattern, responseParams, entity); } else { String content;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
try { // get a content final HttpResponse response = executeHttpClient(httpGet); httpEntity = response.getEntity(); final int httpStatusCode = response.getStatusLine().getStatusCode(); if (httpStatusCode == 200) { // check file size final Header contentLengthHeader = response.getFirstHeader("Content-Length");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:29:26 UTC 2024 - 41K bytes - Viewed (0)