Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for allowRequest (0.22 seconds)

  1. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

        }
    
        /**
         * Check if the request is allowed under rate limiting rules.
         * @param ip the client IP address
         * @return true if the request is allowed
         */
        public boolean allowRequest(final String ip) {
            if (isWhitelisted(ip)) {
                return true;
            }
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/filter/RateLimitFilter.java

                }
                sendBlockedResponse(httpResponse);
                return;
            }
    
            // Check rate limit
            if (!rateLimitHelper.allowRequest(clientIp)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Rate limit exceeded: clientIp={}", clientIp);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top