Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for handler3 (0.04 sec)

  1. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            TestCorsHandler handler1 = new TestCorsHandler("handler1");
            TestCorsHandler handler2 = new TestCorsHandler("handler2");
            TestCorsHandler handler3 = new TestCorsHandler("handler3");
    
            // Execute
            corsHandlerFactory.add(origin1, handler1);
            corsHandlerFactory.add(origin2, handler2);
            corsHandlerFactory.add(origin3, handler3);
    
            // Verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

            }
    
            @Override
            public void forEach(final ClassHandler handler) {
                ClassTraversalUtil.forEach(baseDir, rootPackage, handler);
            }
    
            @Override
            public void forEach(final ResourceHandler handler) {
                ResourceTraversalUtil.forEach(baseDir, rootDir, handler);
            }
    
            @Override
            public void close() {
            }
    
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            try {
                aggregateLogJob.execute();
                fail("OutOfMemoryError should not be caught by Exception handler");
            } catch (OutOfMemoryError e) {
                // Expected - OutOfMemoryError is not caught by Exception handler
                assertEquals("Simulated OOM", e.getMessage());
            }
        }
    
        public void test_execute_multipleDifferentExceptions() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/Traverser.java

         * Searches for classes handled by this instance and calls the handler for each class.
         * <p>
         * If a root package is specified at instance construction, only classes under the root package are targeted.
         * </p>
         *
         * @param handler the handler to process classes
         */
        void forEach(ClassHandler handler);
    
        /**
         * Searches for resources handled by this instance and calls the handler for each resource.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                parser.parse(is, this);
            } catch (final Exception e) {
                throw new GsaConfigException("Failed to parse XML file.", e);
            }
        }
    
        /**
         * SAX event handler called at the beginning of document parsing.
         * Initializes internal data structures for processing the GSA configuration.
         *
         * @throws SAXException if a SAX error occurs during initialization
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Mock Postbox - no need to mock, the framework will handle it
    
            // Register components
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
            ComponentUtil.register(systemHelper, "systemHelper");
            ComponentUtil.setFessConfig(fessConfig);
            ComponentUtil.register(notificationHelper, "notificationHelper");
            // Postbox is handled by the framework
    
            // Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

                    docMeta.primaryTerm(hit.getPrimaryTerm());
                    handler.handle(entity);
                });
    
                return !handler.isBreakCursor();
            });
        }
    
        protected <RESULT extends ENTITY> void delegateSelectBulk(final ConditionBean cb, final EntityRowHandler<List<RESULT>> handler,
                final Class<? extends RESULT> entityType) {
            assertCBStateValid(cb);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top