Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CorsHandler (0.05 sec)

  1. src/main/java/org/codelibs/fess/cors/CorsHandler.java

     * Provides common CORS header constants and defines the processing interface.
     */
    public abstract class CorsHandler {
    
        /**
         * Creates a new instance of CorsHandler.
         */
        public CorsHandler() {
            // Default constructor
        }
    
        /**
         * CORS header for specifying allowed origin.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

            }
            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
         */
        public CorsHandler get(final String origin) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/CorsFilter.java

    package org.codelibs.fess.filter;
    
    import java.io.IOException;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.cors.CorsHandler;
    import org.codelibs.fess.cors.CorsHandlerFactory;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.servlet.Filter;
    import jakarta.servlet.FilterChain;
    import jakarta.servlet.ServletException;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

     * This handler automatically registers itself for origins configured in the system
     * and applies standard CORS headers based on the application configuration.
     */
    public class DefaultCorsHandler extends CorsHandler {
    
        /**
         * Creates a new instance of DefaultCorsHandler.
         * This constructor initializes the default CORS handler for applying
         * standard CORS headers based on application configuration.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top