- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for getHttpStatusCode (0.12 sec)
-
src/main/java/org/codelibs/fess/helper/NotificationHelper.java
if (response.getHttpStatusCode() == 200) { if (logger.isDebugEnabled()) { logger.debug("Sent {} to {}.", body, url); } } else { logger.warn("Failed to send {} to {}. HTTP Status is {}. {}", body, url, response.getHttpStatusCode(), response.getContentAsString());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java
} } protected boolean isSuccessful(final ResponseData responseData) { if (successfulHttpCodes == null) { return true; } final int httpStatusCode = responseData.getHttpStatusCode(); for (final int code : successfulHttpCodes) { if (code == httpStatusCode) { return true; } } return false; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
// "http://.../test.ppt", // "http://.../test.txt", }; // for (String url : urls) { // ResponseData responseData = httpClient.doGet(url); // // assertEquals(200, responseData.getHttpStatusCode()); // if (responseData.getHttpStatusCode() != 200) { // return responseData; // } // } // return null; // } // }); // }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 8.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
if (!path.startsWith("/")) { path = "/" + path.replace('\\', '/'); } final ResponseData responseData = fsClient.doGet("file:" + path); assertEquals(200, responseData.getHttpStatusCode()); assertEquals("UTF-8", responseData.getCharSet()); assertTrue(6 == responseData.getContentLength() || 7 == responseData.getContentLength()); assertNotNull(responseData.getLastModified());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java
this.status = status; } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.entity.AccessResult#getHttpStatusCode() */ @Override public Integer getHttpStatusCode() { return httpStatusCode; } /* * (non-Javadoc) * * @see
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java
void setUrl(String url); String getParentUrl(); void setParentUrl(String parentUrl); Integer getStatus(); void setStatus(Integer status); Integer getHttpStatusCode(); void setHttpStatusCode(Integer httpStatusCode); String getMethod(); void setMethod(String method); String getMimeType(); void setMimeType(String mimeType);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
if (responseData == null) { return true; } } final int httpStatusCode = responseData.getHttpStatusCode(); if (logger.isDebugEnabled()) { logger.debug("Accessing document: {}, status: {}", url, httpStatusCode); } if (httpStatusCode == 404) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
ftpClient.setInitParameterMap(params); final ResponseData responseData = ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/text1.txt"); assertEquals(200, responseData.getHttpStatusCode()); assertEquals("UTF-8", responseData.getCharSet()); assertTrue(6 == responseData.getContentLength()); assertNotNull(responseData.getLastModified());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 54K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
private byte[] responseBodyBytes; private File responseBodyFile; private boolean isTemporaryFile; private boolean noFollow = false; public int getHttpStatusCode() { return httpStatusCode; } public void setHttpStatusCode(final int statusCode) { httpStatusCode = statusCode; } public boolean hasResponseBody() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 5.8K bytes - Viewed (0)