Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for isBlocked (0.05 seconds)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        boolean isBlacklisted();
    
        @Deprecated
        void setBlacklisted(boolean blackListed);
    
        /**
         * @return whether the repository is blocked
         * @since 3.8.1
         **/
        boolean isBlocked();
    
        /**
         * @param blocked block the repository?
         * @since 3.8.1
         **/
        void setBlocked(boolean blocked);
    
        //
        // New interface methods for the repository system.
        //
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4.3K bytes
    - Click Count (1)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            } else {
                this.mirroredRepositories = Collections.emptyList();
            }
        }
    
        @Override
        public boolean isBlocked() {
            return blocked;
        }
    
        @Override
        public void setBlocked(boolean blocked) {
            this.blocked = blocked;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            }
            return whitelisted;
        }
    
        /**
         * Check if the IP is blocked.
         * @param ip the IP address to check
         * @return true if blocked
         */
        public boolean isBlocked(final String ip) {
            if (isWhitelisted(ip)) {
                return false;
            }
    
            // Check statically configured blocked IPs
    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)
  4. src/main/java/org/codelibs/fess/filter/RateLimitFilter.java

            if (logger.isDebugEnabled()) {
                logger.debug("Rate limit check: clientIp={}, path={}", clientIp, httpRequest.getRequestURI());
            }
    
            // Check if IP is blocked
            if (rateLimitHelper.isBlocked(clientIp)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Request blocked: clientIp={}", clientIp);
                }
                sendBlockedResponse(httpResponse);
                return;
            }
    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)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
                    repository.setLayout(original.getLayout());
                }
    
                repository.setBlocked(mirror.isBlocked());
            }
        }
    
        private void injectProxy(ProxySelector selector, List<ArtifactRepository> repositories) {
            if (repositories != null && selector != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.7K bytes
    - Click Count (0)
Back to Top