- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for corsHandler (0.5 sec)
-
src/main/java/org/codelibs/fess/cors/CorsHandler.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.cors; import jakarta.servlet.ServletRequest; import jakarta.servlet.ServletResponse; public abstract class CorsHandler { protected static final String ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin"; protected static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java
protected Map<String, CorsHandler> handerMap = new HashMap<>(); public void add(final String origin, final CorsHandler handler) { if (logger.isDebugEnabled()) { logger.debug("Loaded {}", origin); } handerMap.put(origin, handler); } public CorsHandler get(final String origin) { final CorsHandler handler = handerMap.get(origin);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (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;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java
import jakarta.annotation.PostConstruct; import jakarta.servlet.ServletRequest; import jakarta.servlet.ServletResponse; import jakarta.servlet.http.HttpServletResponse; public class DefaultCorsHandler extends CorsHandler { @PostConstruct public void register() { final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory(); final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2K bytes - Viewed (0)