- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for setPort (0.04 sec)
-
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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.8K 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: Sun Sep 21 03:50:09 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/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: Sun Sep 21 03:50:09 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/SmbAuthenticationHolderTest.java
fugaAuth.setServer("fuga"); smbAuthenticationHolder.add(fugaAuth); final SmbAuthentication fooAuth = new SmbAuthentication(); fooAuth.setServer("foo"); fooAuth.setPort(1000); smbAuthenticationHolder.add(fooAuth); assertEquals(hogeAuth, smbAuthenticationHolder.get("smb://hoge/")); assertEquals(fugaAuth, smbAuthenticationHolder.get("smb://fuga/"));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java
} /** * Get the proxy port. * * @return proxy server port */ public int getPort() { return port; } /** * Set the proxy port. * * @param port proxy server port */ public void setPort(int port) { this.port = port; } /** * Get the proxy username. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java
} /** * Returns the port number. * @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.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java
} /** * Returns the SMB server port. * @return the server port */ public int getPort() { return port; } /** * Sets the SMB server port. * @param port the server port to set */ public void setPort(final int port) { this.port = port; } /** * Returns the username for SMB authentication.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
ProxyInfo proxyInfo = new ProxyInfo(); proxyInfo.setHost(proxy.getHost()); proxyInfo.setType(proxy.getProtocol()); proxyInfo.setPort(proxy.getPort()); proxyInfo.setNonProxyHosts(proxy.getNonProxyHosts()); proxyInfo.setUserName(proxy.getUsername());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java
fugaAuth.setServer("fuga"); smbAuthenticationHolder.add(fugaAuth); final SmbAuthentication fooAuth = new SmbAuthentication(); fooAuth.setServer("foo"); fooAuth.setPort(1000); smbAuthenticationHolder.add(fooAuth); assertEquals(hogeAuth, smbAuthenticationHolder.get("smb1://hoge/")); assertEquals(fugaAuth, smbAuthenticationHolder.get("smb1://fuga/"));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java
this.server = server; } /** * Returns the port number. * @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. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.7K bytes - Viewed (0)