- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for setHost (0.03 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
*/ protected GcsURLConnection(final URL url) { super(url); // Extract bucket name from host bucketName = url.getHost() != null ? url.getHost() : StringUtil.EMPTY; // Extract object name from path, removing leading slash if present and decoding URL encoding final String path = url.getPath();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java
* @return The port number. */ public int getPort() { return port; } /** * Sets the port number. * @param port The port number. */ public void setPort(final int port) { this.port = port; } /** * Returns the username. * @return The username. */ public String getUsername() { return username; }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java
assertFalse(auth.matches(null)); // Test with different ports auth.setPort(8080); assertTrue(auth.matches("ftp://hostname:8080/test/aaa.html")); assertFalse(auth.matches("ftp://hostname:21/test/aaa.html")); // Test with no port specified in FtpAuthentication auth.setPort(0); assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
// Assert - Verify URL components assertEquals("smb", url1.getProtocol()); assertEquals("host", url1.getHost()); assertEquals(445, url1.getPort()); assertEquals("/share", url1.getPath()); assertEquals("smb", url2.getProtocol()); assertEquals("host", url2.getHost()); assertEquals(1234, url2.getPort()); assertEquals("/share/file.txt", url2.getPath());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java
smbAuthentication = new SmbAuthentication(); smbAuthentication.setServer("hoge"); smbAuthentication.setPort(1000); assertEquals("smb1://hoge:1000/", smbAuthentication.getPathPrefix()); smbAuthentication = new SmbAuthentication(); smbAuthentication.setPort(1000); assertEquals("smb1://", smbAuthentication.getPathPrefix()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java
smbAuthentication = new SmbAuthentication(); smbAuthentication.setServer("hoge"); smbAuthentication.setPort(1000); assertEquals("smb://hoge:1000/", smbAuthentication.getPathPrefix()); smbAuthentication = new SmbAuthentication(); smbAuthentication.setPort(1000); assertEquals("smb://", smbAuthentication.getPathPrefix()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
this.workgroup = locator.getType() == SmbConstants.TYPE_WORKGROUP; if (locator.getURL().getHost().isEmpty()) { this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM); } else if (this.workgroup) { this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL); } else {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Handler.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Handler.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java
* @return The port number. */ public int getPort() { return port; } /** * Sets the port number. * @param port The port number. */ public void setPort(final int port) { this.port = port; } /** * Returns the username. * @return The username. */ public String getUsername() { return username; }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 3.9K bytes - Viewed (0)