Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for webProtocols (0.06 sec)

  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 contains {}.", protocol);
                return;
            }
            webProtocols = Arrays.copyOf(webProtocols, webProtocols.length + 1);
            webProtocols[webProtocols.length - 1] = prefix;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  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.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (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]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top