Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for isValidWebProtocol (0.08 seconds)

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

         * Checks if the given URL uses a valid web protocol.
         *
         * @param url the URL to validate
         * @return true if the URL starts with a supported web protocol, false otherwise
         */
        public boolean isValidWebProtocol(final String url) {
            return stream(webProtocols).get(stream -> stream.anyMatch(s -> url.startsWith(s)));
        }
    
        /**
         * Checks if the given URL uses a valid file protocol.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
Back to Top