Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setHttpStatusCode (0.08 sec)

  1. 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)
  2. 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)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        private boolean isTemporaryFile;
    
        private boolean noFollow = false;
    
        public int getHttpStatusCode() {
            return httpStatusCode;
        }
    
        public void setHttpStatusCode(final int statusCode) {
            httpStatusCode = statusCode;
        }
    
        public boolean hasResponseBody() {
            return responseBodyBytes != null || responseBodyFile != null;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        target.setContentLength(getFieldValue(fields.get("contentLength"), Long.class));
                        target.setRuleId(getFieldValue(fields.get("ruleId"), String.class));
                        target.setHttpStatusCode(getFieldValue(fields.get("httpStatusCode"), Integer.class));
                        target.setStatus(getFieldValue(fields.get("status"), Integer.class));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                        responseData.setSessionId(crawlerContext.sessionId);
                        responseData.setStatus(Constants.NOT_MODIFIED_STATUS);
                        responseData.setHttpStatusCode(Constants.NOT_MODIFIED_STATUS_CODE);
                        processResponse(urlQueue, responseData);
    
                        return false;
                    }
                } finally {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                responseData.setCharSet("UTF-8");
                responseData.setContentLength(data.length());
                responseData.setExecutionTime(1000L);
                responseData.setHttpStatusCode(200);
                responseData.setLastModified(new Date());
                responseData.setMethod("GET");
                responseData.setMimeType("text/html");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top