Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 96 for handler2 (0.19 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/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;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1006 bytes
    - Click Count (0)
  3. 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;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1007 bytes
    - Click Count (0)
  4. 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;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 951 bytes
    - Click Count (0)
  5. 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;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1007 bytes
    - Click Count (0)
  6. 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)
  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())) {
    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)
  8. src/main/java/org/codelibs/fess/util/JobProcess.java

     * the input stream thread for capturing process output.
     */
    public class JobProcess {
        /**
         * The underlying system process.
         */
        protected Process process;
    
        /**
         * The thread that handles reading from the process input stream.
         */
        protected InputStreamThread inputStreamThread;
    
        /**
         * Constructs a new JobProcess with the specified process.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

                    }
                }
            };
    
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
            customHook.hook(assistantDirector);
    
            // Verify that exception was handled
            assertTrue(exceptionHandled.get());
        }
    
        // Test with a custom ClassLoader to simulate class availability
        @Test
        public void test_hook_withCustomClassLoader() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. 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.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top