Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for origFn (0.04 sec)

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

            // Execute
            corsHandlerFactory.add(origin1, handler1);
            corsHandlerFactory.add(origin2, handler2);
            corsHandlerFactory.add(origin3, handler3);
    
            // Verify
            assertEquals(handler1, corsHandlerFactory.get(origin1));
            assertEquals(handler2, corsHandlerFactory.get(origin2));
            assertEquals(handler3, corsHandlerFactory.get(origin3));
        }
    
        public void test_get_wildcardOrigin() {
    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/webapp/js/jquery-3.7.1.min.map

    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

         * Headers include allowed origin, methods, headers, max age, and credentials setting.
         *
         * @param origin the origin of the request
         * @param request the servlet request
         * @param response the servlet response to add CORS headers to
         */
        @Override
        public void process(final String origin, final ServletRequest request, final ServletResponse response) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

        }
    
        // Test with different origin formats
        public void test_doFilter_differentOrigins() throws Exception {
            String[] origins = { "http://localhost:8080", "https://example.com", "http://subdomain.example.com", "https://example.com:3000" };
    
            for (String origin : origins) {
                setUp(); // Reset for each test
                mockRequest.setHeader("Origin", origin);
                mockRequest.setMethod("GET");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.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/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                corsHandler.process(origin, request, response);
    
                assertTrue("process should be called for origin: " + origin, processCalled);
                assertEquals(origin, processOrigin);
    
                List<String> originHeaders = responseHeaders.get("Access-Control-Allow-Origin");
                assertNotNull("Headers should be set for origin: " + origin, originHeaders);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/DiscreteDomain.java

        this.supportsFastOffset = supportsFastOffset;
      }
    
      /**
       * Returns, conceptually, "origin + distance", or equivalently, the result of calling {@link
       * #next} on {@code origin} {@code distance} times.
       */
      C offset(C origin, long distance) {
        C current = origin;
        checkNonnegative(distance, "distance");
        for (long i = 0; i < distance; i++) {
          current = next(current);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/cors/CorsHandler.java

        /**
         * Processes the CORS request by setting appropriate headers.
         *
         * @param origin the origin of the request
         * @param request the servlet request
         * @param response the servlet response
         */
        public abstract void process(String origin, ServletRequest request, ServletResponse response);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

        public static final String SAME_ORIGIN = "same-origin";
        public static final String ORIGIN = "origin";
        public static final String STRICT_ORIGIN = "strict-origin";
        public static final String ORIGIN_WHEN_CROSS_ORIGIN = "origin-when-cross-origin";
        public static final String STRICT_ORIGIN_WHEN_CROSS_ORIGIN = "strict-origin-when-cross-origin";
        public static final String UNSAFE_URL = "unsafe-url";
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
Back to top