- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for bad_request (0.05 sec)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
// Test OK status ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result(); assertNotNull(okResult); // Test BAD_REQUEST status ApiResult badRequestResult = new ApiResult.ApiResponse().status(Status.BAD_REQUEST).result(); assertNotNull(badRequestResult); // Test UNAUTHORIZED status
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
assertEquals("{labels.contact_site_admin}", FessLabels.LABELS_contact_site_admin); assertEquals("{labels.request_error_title}", FessLabels.LABELS_request_error_title); assertEquals("{labels.bad_request}", FessLabels.LABELS_bad_request); assertEquals("{labels.page_not_found_title}", FessLabels.LABELS_page_not_found_title); assertEquals("{labels.check_url}", FessLabels.LABELS_check_url);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java
validateApi(body, messages -> {}); if (!isValidFileConfigId(body.fileConfigId)) { return asJson(new ApiErrorResponse().message("invalid fileConfigId").status(Status.BAD_REQUEST).result()); } body.crudMode = CrudMode.CREATE; final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java
validateApi(body, messages -> {}); if (!isValidWebConfigId(body.webConfigId)) { return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result()); } body.crudMode = CrudMode.CREATE; final RequestHeader reqHeader = getRequestHeader(body).map(entity -> { try { reqHeaderService.store(entity);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java
validateApi(body, messages -> {}); if (!isValidWebConfigId(body.webConfigId)) { return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result()); } body.crudMode = CrudMode.CREATE; final WebAuthentication webAuth = getWebAuthentication(body).map(entity -> { try { webAuthService.store(entity);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
/** * Represents the status of an API response. */ public enum Status { /** Successful response status. */ OK(0), /** Bad request status indicating client error. */ BAD_REQUEST(1), /** System error status indicating server error. */ SYSTEM_ERROR(2), /** Unauthorized status indicating authentication failure. */ UNAUTHORIZED(3), /** General failure status. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
} assertTrue("Should have admin paths", adminPaths.size() > 0); } public void test_errorPaths() throws Exception { // Test error paths assertEquals("/error/badRequest.jsp", FessHtmlPath.path_Error_BadRequestJsp.getRoutingPath()); assertEquals("/error/error.jsp", FessHtmlPath.path_Error_ErrorJsp.getRoutingPath());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0)