Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for statusCode (0.58 sec)

  1. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

        public void test_statusCode_variousHttpCodes() {
            // Test with various HTTP status codes
            int[] statusCodes = { 200, 201, 400, 401, 403, 404, 500, 502, 503 };
    
            for (int statusCode : statusCodes) {
                WebApiException exception = new WebApiException(statusCode, "Test message");
                assertEquals(statusCode, exception.getStatusCode());
            }
        }
    
        public void test_statusCode_negativeValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbException.java

        static int getStatusByCode(final int errcode) {
            int statusCode;
            if ((errcode & 0xC0000000) != 0) {
                statusCode = errcode;
            } else if (dosErrorCodeStatuses.containsKey(errcode)) {
                statusCode = dosErrorCodeStatuses.get(errcode);
            } else {
                statusCode = NT_STATUS_UNSUCCESSFUL;
            }
            return statusCode;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. cmd/server_test.go

    func verifyError(c *check, response *http.Response, code, description string, statusCode int) {
    	c.Helper()
    	data, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	errorResponse := APIErrorResponse{}
    	err = xml.Unmarshal(data, &errorResponse)
    	c.Assert(err, nil)
    	c.Assert(errorResponse.Code, code)
    	c.Assert(errorResponse.Message, description)
    	c.Assert(response.StatusCode, statusCode)
    }
    
    func runAllTests(suite *TestSuiteCommon, c *check) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  4. cmd/update.go

    			StatusCode: http.StatusInternalServerError,
    		}
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	if resp.StatusCode != http.StatusOK {
    		return content, AdminError{
    			Code:       AdminUpdateUnexpectedFailure,
    			Message:    fmt.Sprintf("Error downloading URL %s. Response: %v", u, resp.Status),
    			StatusCode: resp.StatusCode,
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlResponseTest.java

            assertNotNull(response);
        }
    
        @Test
        public void testHttpStatusCode() {
            CurlResponse response = new CurlResponse();
            int statusCode = 200;
    
            response.setHttpStatusCode(statusCode);
    
            assertEquals(statusCode, response.getHttpStatusCode());
        }
    
        @Test
        public void testEncoding() {
            CurlResponse response = new CurlResponse();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
        }
    
        private static class StatusCodeWebApiManager implements WebApiManager {
            private final int statusCode;
    
            public StatusCodeWebApiManager(int statusCode) {
                this.statusCode = statusCode;
            }
    
            @Override
            public boolean matches(HttpServletRequest request) {
                return true;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. cmd/tier.go

    		StatusCode: http.StatusBadRequest,
    	}
    
    	errTierBackendNotEmpty = AdminError{
    		Code:       "XMinioAdminTierBackendNotEmpty",
    		Message:    "Specified remote backend is not empty",
    		StatusCode: http.StatusBadRequest,
    	}
    
    	errTierInvalidConfig = AdminError{
    		Code:       "XMinioAdminTierInvalidConfig",
    		Message:    "Unable to setup remote tier, check tier configuration",
    		StatusCode: http.StatusBadRequest,
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. docs/logging/README.md

      "time": "2024-05-09T07:38:10.449688982Z",
      "event": "",
      "trigger": "incoming",
      "api": {
        "name": "PutObject",
        "bucket": "testbucket",
        "object": "hosts",
        "status": "OK",
        "statusCode": 200,
        "rx": 401,
        "tx": 0,
        "timeToResponse": "13309747ns",
        "timeToResponseInNS": "13309747"
      },
      "remotehost": "127.0.0.1",
      "requestID": "17CDC1F4D7E69123",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

                        return false;
                    }
                }
    
                // Check status code condition
                String statusCodeCondition = conditions.get("statusCode");
                if (statusCodeCondition != null) {
                    int expectedCode = Integer.parseInt(statusCodeCondition);
                    if (responseData.getHttpStatusCode() != expectedCode) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          } catch (e: IOException) {
            failConnection(e)
          }
        }
      }
    
      @Throws(IOException::class)
      internal fun writeSynReset(
        streamId: Int,
        statusCode: ErrorCode,
      ) {
        writer.rstStream(streamId, statusCode)
      }
    
      internal fun writeWindowUpdateLater(
        streamId: Int,
        unacknowledgedBytesRead: Long,
      ) {
        writerQueue.execute("$connectionName[$streamId] windowUpdate") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top