- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getStatusLine (0.23 sec)
-
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)