Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for Handling (0.05 sec)

  1. docs/en/docs/tutorial/handling-errors.md

    # Handling Errors { #handling-errors }
    
    There are many situations in which you need to notify an error to a client that is using your API.
    
    This client could be a browser with a frontend, a code from someone else, an IoT device, etc.
    
    You could need to tell the client that:
    
    * The client doesn't have enough privileges for that operation.
    * The client doesn't have access to that resource.
    * The item the client was trying to access doesn't exist.
    * etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. README.md

    - **I/O Operations** (`org.codelibs.core.io`) - File handling, resource management, stream utilities, and traversal utilities for efficient resource processing
    - **Reflection** (`org.codelibs.core.lang`) - Class loading, method/field access, type introspection utilities, and generics support
    - **Exception Handling** (`org.codelibs.core.exception`) - Runtime exception wrappers for common checked exceptions with consistent error handling
    
    ### Modern Java 21 Support
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-request-and-route.md

    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    ## Handling custom request body encodings { #handling-custom-request-body-encodings }
    
    Let's see how to make use of a custom `Request` subclass to decompress gzip requests.
    
    And an `APIRoute` subclass to use that custom request class.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement lease break notification handling
    - [ ] Modify SmbFile to support lease-based caching
    - [ ] Add lease upgrade/downgrade logic
    - [ ] Implement lease epoch tracking for v2 leases
    
    #### 1.3 Integration Points
    - Modify `Smb2CreateRequest` to include lease contexts
    - Update `SmbFile` caching logic to use leases
    - Add lease break handling in `SmbTransport`
    
    ---
    
    ### Phase 2: Persistent Handles
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

                        fail("Concurrent session handling failed: " + e.getMessage());
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            assertTrue(latch.await(10, TimeUnit.SECONDS));
            executor.shutdown();
        }
    
        @Test
        @DisplayName("Test invalid session ID handling")
        public void testInvalidSessionIdHandling() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            System.arraycopy(outputBuffer, 50, extracted, 0, testData.length);
            assertArrayEquals(testData, extracted);
        }
    
        @Test
        @DisplayName("Test small data handling")
        public void testSmallDataHandling() throws CIFSException {
            byte[] smallData = new byte[100]; // Below minimum compression size
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            assertNotNull(result);
            assertTrue(result.contains("3 docs"));
            // queryBuilder field is protected, so we can't directly assert it
        }
    
        // Test execute() method with exception handling
        public void test_execute_withException() {
            // Register a mock that throws exception
            SearchEngineClient exceptionClient = new SearchEngineClient() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            assertNotNull(result);
            assertTrue(result instanceof TestUser);
            assertEquals("TestUser", ((TestUser) result).name);
        }
    
        // Test evaluate method with error handling
        public void test_evaluate_withErrorTemplate() {
            scriptEngine = new ErrorHandlingScriptEngine();
            String template = "error";
            Map<String, Object> paramMap = new HashMap<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

        private static SamrPolicyHandle createMockPolicyHandle() {
            return mock(SamrPolicyHandle.class);
        }
    
        @Nested
        @DisplayName("Constructor parameter handling")
        class ConstructorParameterHandling {
    
            static Stream<Arguments> provideParameters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/websockets.md

    ///
    
    With that you can connect the WebSocket and then send and receive messages:
    
    <img src="/img/tutorial/websockets/image05.png">
    
    ## Handling disconnections and multiple clients { #handling-disconnections-and-multiple-clients }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top