Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for bad_request (0.06 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        @Override
        public ApiResponse handleValidationError(final ApiFailureResource resource) {
            return asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, null))).httpStatus(HTTP_BAD_REQUEST);
        }
    
        @Override
        public ApiResponse handleApplicationException(final ApiFailureResource resource, final RuntimeException cause) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

            if (artifact == null) {
                return asJson(
                        new ApiResult.ApiErrorResponse().message("invalid name or version").status(ApiResult.Status.BAD_REQUEST).result());
            }
            installArtifact(artifact);
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/resources/fess_label_en.properties

    labels.searchoptions_menu_labels=Labels
    labels.error_title=Error
    labels.system_error_title=System Error
    labels.contact_site_admin=Please contact your site administrator.
    labels.request_error_title=Invalid Request Format.
    labels.bad_request=Your request to the URL is invalid.
    labels.page_not_found_title=Page Not Found.
    labels.check_url=Please check the URL.
    labels.user_name=Username
    labels.login=Login
    labels.login.placeholder_username=Username
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
  9. src/main/resources/fess_label_zh_TW.properties

    labels.searchoptions_menu_lang=語言
    labels.searchoptions_menu_labels=標籤
    labels.error_title=錯誤
    labels.system_error_title=系統錯誤
    labels.contact_site_admin=請聯繫網站管理員。
    labels.request_error_title=請求格式不正確。
    labels.bad_request=對URL的請求不正確。
    labels.page_not_found_title=頁面未找到。
    labels.check_url=請檢查URL。
    labels.user_name=使用者名稱
    labels.login=登入
    labels.login.placeholder_username=使用者名稱
    labels.login.placeholder_password=密碼
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
  10. 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)
Back to top