- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for corsHandler (0.07 seconds)
-
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. */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) -
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) {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) -
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
assertNotNull(factory); assertNotNull(factory.handerMap); assertTrue(factory.handerMap.isEmpty()); } // Test implementation of CorsHandler for testing purposes private static class TestCorsHandler extends CorsHandler { private final String name; public TestCorsHandler(String name) { this.name = name; } @Override
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) -
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;
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) -
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. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3K bytes - Click Count (0)