Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 38 for httpStatusCode (0.07 seconds)

  1. 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)
  2. 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)
  3. internal/s3select/sql/errors.go

    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    func (err *s3Error) Error() string {
    	return err.message
    }
    
    func errInvalidDataType(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidDataType",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  4. cmd/batch-rotate.go

    	}
    
    	cancel()
    	return nil
    }
    
    //msgp:ignore batchKeyRotationJobError
    type batchKeyRotationJobError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    func (e batchKeyRotationJobError) Error() string {
    	return e.Description
    }
    
    // Validate validates the job definition input
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. cmd/bucket-policy-handlers.go

    		return
    	}
    
    	bucketPolicy, err := policy.ParseBucketPolicyConfig(bytes.NewReader(bucketPolicyBytes), bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, APIError{
    			Code:           "MalformedPolicy",
    			HTTPStatusCode: http.StatusBadRequest,
    			Description:    err.Error(),
    		}, r.URL)
    		return
    	}
    
    	// Version in policy must not be empty
    	if bucketPolicy.Version == "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  6. cmd/batch-handlers.go

    		}
    
    		break
    	}
    
    	return nil
    }
    
    //msgp:ignore batchReplicationJobError
    type batchReplicationJobError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     int64
    }
    
    func (e batchReplicationJobError) Error() string {
    	return e.Description
    }
    
    // Validate validates the job definition input
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  7. cmd/test-utils_test.go

    	// call the HTTP handler.
    	apiRouter.ServeHTTP(rec, anonReq)
    
    	// expected error response when the unsigned HTTP request is not permitted.
    	accessDenied := getAPIError(ErrAccessDenied).HTTPStatusCode
    	if rec.Code != accessDenied {
    		t.Fatal(failTestStr(anonTestStr, fmt.Sprintf("Object API Nil Test expected to fail with %d, but failed with %d", accessDenied, rec.Code)))
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K 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. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                override fun onRedirectReceived(
                  request: UrlRequest,
                  info: UrlResponseInfo,
                  newLocationUrl: String,
                ) {
                  println("request " + info.httpStatusCode + " " + newLocationUrl)
                  request.followRedirect()
                }
    
                override fun onResponseStarted(
                  request: UrlRequest,
                  info: UrlResponseInfo,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. 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)
Back to Top