Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for handlers (0.04 sec)

  1. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

            if (logger.isDebugEnabled()) {
                logger.debug("Loaded CorsHandler: origin={}", origin);
            }
            handerMap.put(origin, handler);
        }
    
        /**
         * Gets the CORS handler for the specified origin.
         * If no specific handler is found, returns the wildcard handler.
         *
         * @param origin the origin to look up
         * @return the CORS handler for the origin, or null if none found
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            }
        }
    
        /**
         * Loads protocol handlers from the specified base package by scanning for
         * Handler classes in subpackages and registering them as web or file protocols
         * based on their PROTOCOL_TYPE field.
         *
         * @param basePackage the base package to scan for protocol handlers
         */
        protected void loadProtocols(final String basePackage) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 12.4K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/query/QueryProcessor.java

        }
    
        private static final Logger logger = LogManager.getLogger(QueryProcessor.class);
    
        /**
         * Map of query commands indexed by query class simple names.
         * Used to lookup appropriate command handlers for different query types.
         */
        protected Map<String, QueryCommand> queryCommandMap = new HashMap<>();
    
        /**
         * List of filters that will be applied during query processing.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

     *
     * <p>
     * The {@link GcsURLConnection} class handles the actual connection and data retrieval from the storage service.
     * </p>
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * Constructs a new Handler.
         */
        public Handler() {
            // Default constructor
        }
    
        /**
         * Opens a connection to the GCS URL.
         *
         * @param u The URL to open a connection to
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

     * </ul>
     *
     * <p>
     * The {@link S3URLConnection} class handles the actual connection and data retrieval from the S3 service.
     * </p>
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * Constructs a new Handler.
         */
        public Handler() {
            // Default constructor
        }
    
        /**
         * Opens a connection to the S3 URL.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

     * </ul>
     *
     * <p>
     * The {@link StorageURLConnection} class handles the actual connection and data retrieval from the storage service.
     * </p>
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * Constructs a new Handler.
         */
        public Handler() {
            // Default constructor
        }
    
        /**
         * Opens a connection to the storage URL.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                }
                final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
                final CorsHandler handler = factory.get(origin);
                if (handler != null) {
                    handler.process(origin, request, response);
    
                    if (OPTIONS.equals(httpRequest.getMethod())) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            URL url = new URL("gcs://mybucket/path/to/object.txt");
            Handler handler = new Handler();
            URLConnection conn = handler.openConnection(url);
    
            assertTrue(conn instanceof Handler.GcsURLConnection);
            Handler.GcsURLConnection gcsConn = (Handler.GcsURLConnection) conn;
    
            // Use reflection to access private fields for testing
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

                    });
    
            zipExtractor = container.getComponent("zipExtractor");
            tarExtractor = container.getComponent("tarExtractor");
        }
    
        /**
         * Test that ZipExtractor handles null input stream with appropriate error message.
         */
        public void test_ZipExtractor_nullInputStream_throwsWithMessage() {
            try {
                zipExtractor.getText(null, null);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            URL url = new URL("storage://mybucket/path/to/object.txt");
            Handler handler = new Handler();
            URLConnection conn = handler.openConnection(url);
    
            assertTrue(conn instanceof Handler.StorageURLConnection);
            Handler.StorageURLConnection storageConn = (Handler.StorageURLConnection) conn;
    
            // Use reflection to access private fields for testing
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top