- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Statuscode (1.26 sec)
-
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) -
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) -
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) -
cmd/update.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 18.9K bytes - Viewed (0) -
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) -
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) -
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) -
cmd/admin-handlers.go
if nerr.Err != nil { err := AdminError{ Code: AdminUpdateApplyFailure, Message: nerr.Err.Error(), StatusCode: http.StatusInternalServerError, } logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String()) adminLogIf(ctx, fmt.Errorf("server update failed with %w", err))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
cmd/utils.go
return BackendDown{Err: err.Error()} } minioErr, ok := err.(minio.ErrorResponse) if !ok { // We don't interpret non MinIO errors. As minio errors will // have StatusCode to help to convert to object errors. return err } switch minioErr.Code { case "SlowDownWrite": err = InsufficientWriteQuorum{Bucket: bucket, Object: object} case "SlowDownRead":
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0) -
cmd/perf-tests.go
t := time.Now() r, _, _, err := c.GetObject(downloadsCtx, opts.bucketName, tmpObjName, gopts) if err != nil { errResp, ok := err.(minio.ErrorResponse) if ok && errResp.StatusCode == http.StatusNotFound { continue } if !contextCanceled(downloadsCtx) && !errors.Is(err, context.Canceled) { errOnce.Do(func() { retError = err.Error() }) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0)