Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 746 for Handlers (0.27 seconds)

  1. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            return jobProcess != null && jobProcess.getProcess().isAlive();
        }
    
        /**
         * Internal method to destroy a specific JobProcess.
         * Handles cleanup of streams, threads, and process termination.
         *
         * @param sessionId unique identifier for the process session
         * @param jobProcess the JobProcess to destroy
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/Config.java

        private Config() {
            // Utility class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(Config.class);
    
        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <code>java.net.URL</code> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    }
                }
                response.sendError(statusCode, message);
            }
        }
    
        /**
         * Processes API requests to the search engine.
         * Handles both regular API calls and plugin requests.
         *
         * @param request  the HTTP servlet request
         * @param response the HTTP servlet response
         * @param path     the request path after removing the prefix
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertEquals(1, chain3.updateCallCount);
        }
    
        // Test addChain null handling
        @Test
        public void test_addChain_withNull() {
            // ArrayUtils.addAll handles null gracefully by adding it to the array
            authenticationManager.addChain(null);
    
            // Verify null chain doesn't cause issues during operations
            User user = createTestUser("testuser");
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  5. README.md

           implementation("com.squareup.okhttp3:logging-interceptor")
        }
    ```
    
    Maven and JVM Projects
    ----------------------
    
    OkHttp is published as a Kotlin Multiplatform project. While Gradle handles this automatically,
    Maven projects must select between `okhttp-jvm` and `okhttp-android`. The `okhttp` artifact will be empty in
    Maven projects.
    
    ```xml
    <dependencyManagement>
      <dependencies>
        <dependency>
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertEquals("first.txt", notifications.get(0).getFileName());
            assertEquals("second.txt", notifications.get(1).getFileName());
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat handles empty filename")
        void testReadParametersWireFormatEmptyFilename() throws Exception {
            byte[] buffer = createSingleNotificationBuffer("", FileNotifyInformation.FILE_ACTION_ADDED);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            };
    
            // Then
            assertNotNull(iterator, "Iterator should be created");
            assertFalse(iterator.hasNext(), "Should not have elements");
        }
    
        /**
         * Test that the iterator handles null return from next correctly.
         */
        @Test
        void testNullReturnFromNext() {
            // Given
            when(mockDelegate.hasNext()).thenReturn(false);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. cmd/signature-v4_test.go

    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   "",
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (8) Should error with signature does not match. But handles
    		// query params which do not precede with "x-amz-" header.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":       signV4Algorithm,
    				"X-Amz-Date":            now.Format(iso8601Format),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/PathValidator.java

            if (!smbUrl.toLowerCase().startsWith("smb://")) {
                throw new SmbException("Invalid SMB URL format");
            }
    
            try {
                URL url = new URL(null, smbUrl, new jcifs.smb.Handler());
    
                // Validate host
                String host = url.getHost();
                if (host == null || host.isEmpty()) {
                    throw new SmbException("SMB URL missing host");
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                assertEquals(hA, hB);
                assertEquals(hA.hashCode(), hB.hashCode());
            } else {
                assertNotEquals(hA, hB);
            }
    
            // Test negative case with different tree id handles
            SmbTreeHandleImpl tC = mock(SmbTreeHandleImpl.class);
            lenient().when(tC.acquire()).thenReturn(tC);
            lenient().when(tC.getTreeId()).thenReturn(treeId + 1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top