Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for 404 (0.01 sec)

  1. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

                // 404
                throw responseManager.new404("Thumbnail for " + form.docId + " is not found.");
            }
    
            final File thumbnailFile = thumbnailManager.getThumbnailFile(doc);
            if (thumbnailFile == null) {
                if (fessConfig.isThumbnailEnabled()) {
                    thumbnailManager.offer(doc);
                }
                // 404
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/handling-errors.md

    Це схоже на HTTP статус-коди 200 (від 200 до 299). Ці "200" статус-коди означають, що запит пройшов успішно.
    
    Статус-коди в діапазоні 400 означають, що сталася помилка з боку клієнта.
    
    Пам'ятаєте всі ці помилки **404 Not Found** (і жарти про них)?
    
    ## Використання `HTTPException`
    
    Щоб повернути HTTP-відповіді з помилками клієнту, використовуйте `HTTPException`.
    
    ### Імпорт `HTTPException`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:31:13 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/error/ErrorNotfoundAction.java

    package org.codelibs.fess.app.web.error;
    
    import org.codelibs.fess.app.web.base.FessSearchAction;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Action class for handling HTTP 404 Not Found error pages.
     * This action displays error pages when the requested resource
     * cannot be found on the server.
     */
    public class ErrorNotfoundAction extends FessSearchAction {
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

    public class WebApiExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withStatusCodeAndMessage() {
            // Test constructor with status code and message
            int statusCode = 404;
            String message = "Resource not found";
    
            WebApiException exception = new WebApiException(statusCode, message);
    
            assertEquals(statusCode, exception.getStatusCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    The status codes in the 400 range mean that there was an error from the client.
    
    Remember all those **"404 Not Found"** errors (and jokes)?
    
    ## Use `HTTPException` { #use-httpexception }
    
    To return HTTP responses with errors to the client you use `HTTPException`.
    
    ### Import `HTTPException` { #import-httpexception }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/additional-responses.md

    **FastAPI** will take that model, generate its JSON Schema and include it in the correct place in OpenAPI.
    
    For example, to declare another response with a status code `404` and a Pydantic model `Message`, you can write:
    
    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note
    
    Keep in mind that you have to return the `JSONResponse` directly.
    
    ///
    
    /// info
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            }
    
            try (final ResponseData responseData = smbClient.doGet(baseUrl + "none")) {
                assertEquals(0, responseData.getStatus());
                assertEquals(404, responseData.getHttpStatusCode());
                assertEquals(0, responseData.getContentLength());
                assertNull(responseData.getResponseBody());
                assertEquals(baseUrl + "none", responseData.getUrl());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-operation-configuration.md

    ///
    
    ## Response Status Code { #response-status-code }
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    You can pass directly the `int` code, like `404`.
    
    But if you don't remember what each number code is for, you can use the shortcut constants in `status`:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test status getter and setter")
        void testStatusGetterSetter() {
            assertEquals(0, response.getStatus());
            response.setStatus(404);
            assertEquals(404, response.getStatus());
        }
    
        @Test
        @DisplayName("Test numEntries getter and setter")
        void testNumEntriesGetterSetter() {
            assertEquals(0, response.getNumEntries());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/handling-errors.md

    この例では、クライアントが存在しないIDでアイテムを要求した場合、`404`のステータスコードを持つ例外を発生させます:
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[11] *}
    
    ### レスポンス結果
    
    クライアントが`http://example.com/items/foo`(`item_id` `"foo"`)をリクエストすると、HTTPステータスコードが200で、以下のJSONレスポンスが返されます:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    しかし、クライアントが`http://example.com/items/bar`(存在しない`item_id` `"bar"`)をリクエストした場合、HTTPステータスコード404("not found"エラー)と以下のJSONレスポンスが返されます:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Jun 22 14:35:27 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top