Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 660 for handling (0.05 seconds)

  1. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            assertTrue(result.contains("Wrapped: Checked exception"));
            assertTrue(result.endsWith("\n"));
        }
    
        @Test
        public void test_execute_withOutOfMemoryError() {
            // Test handling of Error (not Exception) - should NOT be caught by Exception handler
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
                @Override
                public void storeSearchLog() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            result = virtualHostHelper.getVirtualHostPath(page);
            assertEquals("/site1/search", result.getRoutingPath());
    
            // The header remains for subsequent tests due to static request handling
            // Different matching header added to same request
            request.addHeader("X-Forwarded-Host", "test.com");
            result = virtualHostHelper.getVirtualHostPath(page);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/util/SMBUtil.java

    /**
     * SMB protocol utility class providing low-level data encoding and decoding operations.
     * Contains methods for reading and writing various data types (integers, strings, timestamps)
     * in SMB protocol format, handling endianness and data type conversions.
     *
     * @author mbechler
     */
    public class SMBUtil {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private SMBUtil() {
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                assertEquals(maskedValue, ndrShort1.value);
                assertEquals(maskedValue, ndrShort2.value);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle multiple operations correctly")
            void testMultipleOperations() throws NdrException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/websockets.md

    * "Item ID",用于路径。
    * "Token",作为查询参数。
    
    /// tip
    
    注意,查询参数 `token` 将由依赖项处理。
    
    ///
    
    通过这样,您可以连接 WebSocket,然后发送和接收消息:
    
    <img src="/img/tutorial/websockets/image05.png">
    
    ## 处理断开连接和多个客户端 { #handling-disconnections-and-multiple-clients }
    
    当 WebSocket 连接关闭时,`await websocket.receive_text()` 将引发 `WebSocketDisconnect` 异常,您可以捕获并处理该异常,就像本示例中的示例一样。
    
    {* ../../docs_src/websockets_/tutorial003_py310.py hl[79:81] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    
    import jakarta.annotation.Resource;
    
    /**
     * Abstract base class for CrawlerClient implementations.
     * Provides common functionality for handling initialization parameters,
     * content length checks, and default method implementations.
     * It defines the basic structure and configuration options for crawler clients.
     */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 9.7K bytes
    - Click Count (10)
  7. src/main/java/org/codelibs/core/beans/MethodDesc.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans;
    
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Interface for handling methods.
     *
     * @author koichik
     */
    public interface MethodDesc {
    
        /**
         * Returns the {@link BeanDesc} of the class that owns this method.
         *
         * @return {@link BeanDesc}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

    import org.junit.Test;
    
    /**
     * Test class for resource loading functionality in Suggester class.
     *
     * Tests cover:
     * - Successful resource loading
     * - Missing resource error handling
     * - Resource content validation
     * - InputStream null safety in try-with-resources
     */
    public class SuggesterResourceLoadingTest {
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  9. CLAUDE.md

    ### 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
    - **ContentLengthHelper**: Content length limits per MIME type
    
    ---
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

                return EMPTY_ARRAY;
            }
            return list.toArray(new Traverser[list.size()]);
        }
    
        /**
         * Creates and returns a {@link Traverser} for handling the specified URL.
         * <p>
         * Returns <code>null</code> if the protocol of the URL is unknown.
         * </p>
         *
         * @param url
         *            The URL of the resource.
         * @param rootPackage
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top