Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 429 for handlePing (0.09 sec)

  1. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

    /**
     * Tests for SmbFilenameFilter interface behaviors via simple implementations.
     * Each test creates a concrete filter to validate expected contract semantics
     * including normal operation, null handling, edge cases, and exception flow.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbFilenameFilterTest {
    
        @Mock
        SmbFile mockDir;
    
        /**
         * Happy-path: a filter that accepts any name.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                len += pad8(bufferIndex);
            } else if (compound && this.nextCommand == 0 && this.readSize > 0) {
                // Apply compound response handling as per MS-SMB2 3.2.5.1.9 - correct for both compound and single responses
                // 3.2.5.1.9 Handling Compounded Responses
                // The final response in the compounded response chain will have NextCommand equal to 0,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            concreteResponse.received();
            assertTrue(concreteResponse.isReceived());
            concreteResponse.clearReceived();
            assertFalse(concreteResponse.isReceived());
    
            // Test error handling
            assertFalse(concreteResponse.isError());
            assertEquals(0, concreteResponse.getErrorCode());
            concreteResponse.error();
            assertTrue(concreteResponse.isError());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/CIFSContext.java

        /**
         * Get the transport pool for managing SMB connections
         *
         * @return the transport pool
         */
        SmbTransportPool getTransportPool();
    
        /**
         * Get the DFS resolver for handling distributed file system paths
         *
         * @return the DFS instance for this context
         */
        DfsResolver getDfs();
    
        /**
         * Get the SID resolver for resolving security identifiers
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

    import java.util.Map;
    import java.util.StringTokenizer;
    
    /**
     * A <code>URLStreamHandler</code> used to provide NTLM authentication
     * capabilities to the default HTTP handler.  This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * The default HTTP port (<code>80</code>).
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Release the session (back to initial state)
            session.release();
            assertFalse(session.isInUse(), "Session should not be in use after release");
        }
    
        /**
         * Test exception handling during cleanup
         */
        @Test
        @Timeout(5)
        public void testExceptionHandling() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. CLAUDE.md

    extractorFactory.addExtractor("text/html", tikaExtractor, 1);  // Fallback
    ```
    
    ### Helpers
    
    **RobotsTxtHelper**: RFC 9309 parsing, user-agent matching, crawl-delay, sitemaps
    **SitemapsHelper**: Sitemap XML parsing, index handling
    **MimeTypeHelper**: MIME detection via Tika
    **EncodingHelper**: Charset detection with BOM
    **UrlConvertHelper**: URL normalization
    
    ---
    
    ## Development Workflow
    
    ### Build Commands
    
    ```bash
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

         * This method calibrates CPU load, checks crawler status, applies
         * interval control rules, and then calls the parent implementation.
         * All operations are wrapped in exception handling to ensure robustness
         * in test and production environments.
         */
        @Override
        protected void delayForWaitingNewUrl() {
            try {
                ComponentUtil.getSystemHelper().calibrateCpuLoad();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

     * and predictable behavior in concurrent environments.
     *
     * @param <S> the type of ProtoSession associated with this request, allowing for
     *           type-safe session handling in specific request implementations
     *
     * @see ProtoSession
     * @see RequestTrace
     * @see Result
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Request<S extends ProtoSession> {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            verify(response, never()).addHeader(eq("WWW-Authenticate"), eq("Basic realm=\"TestRealm\""));
        }
    
        @Test
        void testDoFilter_ntlmType1Message() throws Exception {
            // Test NTLM Type 1 message handling
            // This test verifies that when a Type 1 NTLM message is received,
            // the filter processes it correctly through NtlmSsp.authenticate
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top