Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 210 for handler3 (0.06 seconds)

  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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  2. 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
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.2K bytes
    - Click Count (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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  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());
            }
        }
    
        @Test
        public void test_execute_multipleDifferentExceptions() {
    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)
  5. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

        /**
         * Dispatches an event to all registered handlers for the event name.
         *
         * @param event the event to dispatch.
         */
        protected void dispatchEvent(final EventInfo event) {
            final List<Consumer<EventInfo>> handlers = eventHandlers.get(event.name);
            if (handlers != null) {
                for (final Consumer<EventInfo> handler : handlers) {
                    try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  6. 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())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. src/main/webapp/js/chat.js

                filterPanel: $('#filterPanel')
            };
    
            bindEvents();
            autoResizeTextarea();
            updateCharCount();
            showStatus('ready');
        }
    
        /**
         * Bind event handlers
         */
        function bindEvents() {
            elements.sendBtn.on('click', sendMessage);
    
            elements.chatInput.on('keydown', function(e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 26.4K bytes
    - Click Count (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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  10. 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
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
Back to Top