Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for httpStatusCode (0.07 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

                    httpRequest = new HttpGet(buf.toString());
                }
    
                executor.accept(httpRequest, (response, entity) -> {
                    final int httpStatusCode = response.getCode();
                    if (httpStatusCode < 400 || httpStatusCode == 401) {
                        parseTokenPage(tokenPattern, responseParams, entity);
                    } else {
                        String content;
                        try {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc4FormScheme.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;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

         */
        public int getHttpStatusCode() {
            return httpStatusCode;
        }
    
        /**
         * Sets the HTTP status code for the response.
         *
         * @param httpStatusCode the HTTP status code to set.
         */
        public void setHttpStatusCode(final int httpStatusCode) {
            this.httpStatusCode = httpStatusCode;
        }
    
        /**
         * Gets the encoding used for the response content.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        }
                    }
    
                    final int httpStatusCode = responseData.getHttpStatusCode();
                    if (logger.isDebugEnabled()) {
                        logger.debug("Accessing document: url={}, status={}", url, httpStatusCode);
                    }
                    if (httpStatusCode == HTTP_STATUS_NOT_FOUND) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

         * Checks if the HTTP status code indicates a redirect.
         *
         * @param httpStatusCode The HTTP status code to check
         * @return True if the status code indicates a redirect, false otherwise
         */
        protected boolean isRedirectHttpStatus(final int httpStatusCode) {
            return redirectHttpStatusPattern.matcher(Integer.toString(httpStatusCode)).matches();
        }
    
        /**
         * Executes the HTTP client request.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

         * Checks if the HTTP status code indicates a redirect.
         *
         * @param httpStatusCode The HTTP status code to check
         * @return True if the status code indicates a redirect, false otherwise
         */
        protected boolean isRedirectHttpStatus(final int httpStatusCode) {
            return redirectHttpStatusPattern.matcher(Integer.toString(httpStatusCode)).matches();
        }
    
        /**
         * Executes the HTTP client request.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

         */
        private static final String[] ACCESS_RESULT_FIELDS = { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime",
                "createTime", "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" };
    
        /**
         * Creates a new instance of OpenSearchDataService.
         * @param crawlerConfig The crawler configuration.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                if (accessResult.getHttpStatusCode() != 200) {
                    // invalid page
                    if (logger.isDebugEnabled()) {
                        logger.debug("Skipped: httpStatusCode={}", accessResult.getHttpStatusCode());
                    }
                    continue;
                }
    
                final long startTime = systemHelper.getCurrentTimeAsLong();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            }
    
            @Override
            public void setMethod(String method) {
                // Do nothing in test
            }
    
            @Override
            public void setHttpStatusCode(Integer httpStatusCode) {
                // Do nothing in test
            }
    
            @Override
            public void setStatus(Integer status) {
                // Do nothing in test
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  10. cmd/api-response.go

    	}
    
    	// Similar check to http.checkWriteHeaderCode
    	if err.HTTPStatusCode < 100 || err.HTTPStatusCode > 999 {
    		bugLogIf(ctx, fmt.Errorf("invalid WriteHeader code %v from %v", err.HTTPStatusCode, err.Code))
    		err.HTTPStatusCode = http.StatusInternalServerError
    	}
    
    	// Generate error response.
    	errorResponse := getAPIErrorResponse(ctx, err, reqURL.Path,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
Back to Top