- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for setHttpStatusCode (0.36 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
responseData.setHttpStatusCode(Constants.SERVER_ERROR_STATUS_CODE); } } else { responseData.setResponseBody(file, false); } } } else { // Forbidden responseData.setHttpStatusCode(Constants.FORBIDDEN_STATUS_CODE);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
} if (logger.isDebugEnabled()) { logger.debug("Processing SmbFile: {}", filePath); } try { if (file == null) { responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE); responseData.setCharSet(charset); responseData.setContentLength(0); } else if (file.isFile()) { if (logger.isDebugEnabled()) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 23 01:54:36 UTC 2024 - 17.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessorTest.java
responseData.setHttpStatusCode(200); assertTrue(processor.isSuccessful(responseData)); responseData.setHttpStatusCode(100); assertFalse(processor.isSuccessful(responseData)); responseData.setHttpStatusCode(304); assertFalse(processor.isSuccessful(responseData)); responseData.setHttpStatusCode(404); assertFalse(processor.isSuccessful(responseData));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
} if (logger.isDebugEnabled()) { logger.debug("Processing SmbFile: {}", filePath); } try { if (file == null) { responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE); responseData.setCharSet(charset); responseData.setContentLength(0); } else if (file.isFile()) { if (logger.isDebugEnabled()) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java
responseData.setHttpStatusCode(200); responseData.setUrl("http://example.com/"); responseData.setMimeType("text/html"); return responseData; } private ResponseData getTestData2() { final ResponseData responseData = new ResponseData(); responseData.setHttpStatusCode(200); responseData.setUrl("https://example.com/");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java
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); Long getCreateTime();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java
accessResult1.setContentLength(Long.valueOf(10)); accessResult1.setCreateTime(System.currentTimeMillis()); accessResult1.setExecutionTime(10); accessResult1.setHttpStatusCode(200); accessResult1.setLastModified(System.currentTimeMillis()); accessResult1.setMethod("GET"); accessResult1.setMimeType("text/plain"); accessResult1.setParentUrl("http://www.parent.com/");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 6.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
final FTPClient client, final FtpInfo ftpInfo, final FTPFile file) { if (file == null) { responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE); responseData.setCharSet(charset); responseData.setContentLength(0); ftpClientQueue.offer(client); return; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
} // check file size responseData.setContentLength(statObject.size()); checkMaxContentLength(responseData); responseData.setHttpStatusCode(Constants.OK_STATUS_CODE); responseData.setCharSet(getCharset()); responseData.setLastModified(statObject.lastModified() == null ? null : Date.from(statObject.lastModified().toInstant()));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java
return httpStatusCode; } /* * (non-Javadoc) * * @see * org.codelibs.fess.crawler.entity.AccessResult#setHttpStatusCode(java.lang.Integer) */ @Override public void setHttpStatusCode(final Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } /* * (non-Javadoc) *
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0)