Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for webProtocols (0.2 seconds)

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

            final String prefix = protocol + ":";
            if (stream(webProtocols).get(stream -> stream.anyMatch(s -> s.equals(prefix)))) {
                logger.debug("Web protocols already contains: protocol={}", protocol);
                return;
            }
            webProtocols = Arrays.copyOf(webProtocols, webProtocols.length + 1);
            webProtocols[webProtocols.length - 1] = prefix;
        }
    
        /**
    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)
  2. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        }
    
        /**
         * Sets the array of web protocols to recognize for URL classification.
         *
         * @param webProtocols array of protocol prefixes (e.g., "http:", "https:")
         */
        public void setWebProtocols(final String[] webProtocols) {
            this.webProtocols = webProtocols;
        }
    
        /**
         * Sets the array of file protocols to recognize for URL classification.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            String[] webProtocols = protocolHelper.getWebProtocols();
            String[] fileProtocols = protocolHelper.getFileProtocols();
    
            assertEquals(2, webProtocols.length);
            assertEquals(2, fileProtocols.length);
    
            // Verify the content is correct
            assertEquals("http:", webProtocols[0]);
            assertEquals("https:", webProtocols[1]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
Back to Top