- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for StatusCode (0.49 sec)
-
src/main/java/org/codelibs/fess/exception/WebApiException.java
super(message); this.statusCode = statusCode; } /** * Constructs a WebApiException with the specified status code and exception. * * @param statusCode The HTTP status code * @param e The exception that caused this WebApiException */ public WebApiException(final int statusCode, final Exception e) { this(statusCode, e.getMessage(), e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0) -
cmd/object-lambda-handlers.go
tokenErr.Description = "The request token included in the request is invalid" writeErrorResponse(ctx, w, tokenErr, r.URL) return } statusCode := resp.StatusCode if status := resp.Header.Get(xhttp.AmzFwdStatus); status != "" { statusCode, err = strconv.Atoi(status) if err != nil { writeErrorResponse(ctx, w, APIError{ Code: "LambdaFunctionStatusError",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 18 21:56:31 UTC 2025 - 6.5K 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) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
assertEquals(statusCode, exception.getStatusCode()); assertEquals(message, exception.getMessage()); } public void test_statusCode_zero() { // Test with zero status code int statusCode = 0; String message = "Zero status"; WebApiException exception = new WebApiException(statusCode, message);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K 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/object-lambda-handlers_test.go
testCases := []struct { name string statusCode int body string contentType string expectStatus int }{ { name: "Success 206 Partial Content", statusCode: 206, body: "partial-object-data", contentType: "text/plain", expectStatus: 206, }, { name: "Success 200 OK", statusCode: 200, body: "full-object-data",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 18 21:56:31 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
* * @param statusCode The HTTP status code * @param message The error message */ public static void setError(final int statusCode, final String message) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message))); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
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) -
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)