Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 371 for handler1 (0.06 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/test/java/org/codelibs/fess/test/net/protocol/xxx1/Handler.java

     */
    package org.codelibs.fess.test.net.protocol.xxx1;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "web";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1006 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/test/net/protocol/xxx4/Handler.java

     */
    package org.codelibs.fess.test.net.protocol.xxx4;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 951 bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/test/net/protocol/xxx2/Handler.java

     */
    package org.codelibs.fess.test.net.protocol.xxx2;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "file";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1007 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/test/net/protocol/xxx3/Handler.java

     */
    package org.codelibs.fess.test.net.protocol.xxx3;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "test";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1007 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top