Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for setHttpStatusCode (0.14 sec)

  1. 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)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.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 Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

        public void setContentCache(final ContentCache contentCache) {
            this.contentCache = contentCache;
        }
    
        public int getHttpStatusCode() {
            return httpStatusCode;
        }
    
        public void setHttpStatusCode(final int httpStatusCode) {
            this.httpStatusCode = httpStatusCode;
        }
    
        public String getEncoding() {
            return encoding;
        }
    
        public void setEncoding(final String encoding) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

            }
    
            @Override
            public void accept(final HttpURLConnection con) {
                try {
                    response.setEncoding(encoding);
                    response.setHttpStatusCode(con.getResponseCode());
                    response.setHeaders(con.getHeaderFields());
                } catch (final Exception e) {
                    throw new CurlException("Failed to access the response.", e);
                }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        responseData.setParentUrl(urlQueue.getParentUrl());
                        responseData.setSessionId(crawlerContext.getSessionId());
                        responseData.setHttpStatusCode(org.codelibs.fess.crawler.Constants.NOT_MODIFIED_STATUS);
                        processResponse(urlQueue, responseData);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    responseData.setMethod(Constants.HEAD_METHOD);
                } else {
                    responseData.setMethod(Constants.GET_METHOD);
                }
                responseData.setHttpStatusCode(httpStatusCode);
                for (final Header header : response.getAllHeaders()) {
                    responseData.addMetaData(header.getName(), header.getValue());
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  9. 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