Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isValidWebProtocol (0.06 sec)

  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.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (1)
Back to top