- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 42 for rprotocol (0.04 seconds)
-
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
* * @param protocol the protocol name to add (without colon suffix) */ public void addWebProtocol(final String protocol) { final String prefix = protocol + ":"; if (stream(webProtocols).get(stream -> stream.anyMatch(s -> s.equals(prefix)))) { logger.debug("Web protocols already contains: protocol={}", protocol); return; }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) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
if (StringUtil.isNotBlank(value)) { return check(protocols, value); } return true; } /** * Checks if the given value matches any of the specified protocols. * * @param protocols the allowed protocols * @param value the URI string to validate * @return true if the value matches allowed protocols, false otherwise */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 12:34:02 GMT 2025 - 3.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
assertFalse(protocolHelper.isValidFileProtocol("gcs://bucket/path")); // Add s3 protocol dynamically protocolHelper.addFileProtocol("s3"); assertTrue(protocolHelper.isValidFileProtocol("s3://bucket/path")); assertFalse(protocolHelper.isValidFileProtocol("gcs://bucket/path")); // Add gcs protocol dynamically protocolHelper.addFileProtocol("gcs");
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) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} /** * Parses and filters URL patterns from text based on protocol types. * Processes each line of the input text, filtering URLs based on web and file protocol support. * * @param text the raw text containing URL patterns, one per line * @param web true if web protocol URLs should be included * @param file true if file protocol URLs should be includedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java
} return false; } /** * Converts a crawling path to the appropriate protocol format. * Handles various path formats and adds proper protocol prefixes. * * @param path the original path to convert * @return the converted path with appropriate protocol prefix */ protected String convertCrawlingPath(final String path) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 02:14:37 GMT 2026 - 16.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
/** * Gets the logger instance for this transformer. * * @return the logger instance */ Logger getLogger(); /** * Extracts the host name from a URL string. * Removes protocol and path components to return just the hostname. * * @param u the URL string to extract host from * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
return appendQueryParameter(document, url); } /** * Updates file protocol based on user agent type. * Handles different browser-specific file protocol formats. * * @param url the file URL to update * @return the updated URL with appropriate file protocol */ protected String updateFileProtocol(String url) { final int pos = url.indexOf(':', 5);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
import jakarta.validation.Payload; public class UriTypeTest extends UnitFessTestCase { // Test field with UriType annotation for WEB protocol @UriType(protocolType = ProtocolType.WEB) private String testFieldWeb; // Test field with UriType annotation for FILE protocol @UriType(protocolType = ProtocolType.FILE) private String testFieldFile; // Test field with custom messageCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
return "[" + compressed + "]"; } return address.getHostAddress(); } /** * Builds a URL from protocol, InetAddress, port, and path. * Properly handles IPv6 addresses by wrapping them in brackets. * * @param protocol the protocol (e.g., "http", "https") * @param address the InetAddress for the host * @param port the port number
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/UriTypeValidatorTest.java
protocols = new String[] { "http:" }; values = "https://www.foo.com/\nhttps://www.bar.com/"; assertFalse(UriTypeValidator.check(protocols, values)); protocols = new String[] { "http:" }; values = "https://www.foo.com/\n \nhttps://www.bar.com/"; assertFalse(UriTypeValidator.check(protocols, values)); protocols = new String[] { "http:" };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 3.2K bytes - Click Count (0)