- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for getPort (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
assertEquals(value, ftpInfo.toUrl()); assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey()); assertEquals("123.123.123.123", ftpInfo.getHost()); assertEquals(9999, ftpInfo.getPort()); assertEquals("/", ftpInfo.getParent()); assertNull(ftpInfo.getName()); value = "ftp://123.123.123.123/test.txt";
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 18K 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) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
*/ public String getCacheKey() { return getHost() + ":" + getPort(); } /** * Gets the host name from the FTP URL. * * @return The host name */ public String getHost() { return uri.getHost(); } /** * Gets the port number from the FTP URL.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 39.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
final AuthScheme authScheme = authentication.getAuthScheme(); if (authScope.getHost() != null && authScheme != null) { final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort()); authCache.put(targetHost, authScheme); } } httpClientContext.setAuthCache(authCache);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 12.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
credentialsProvider.setCredentials(authScope, authentication.getCredentials()); if (authScope.getHost() != null && authScheme != null) { final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort()); authCache.put(targetHost, authScheme); } } }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 52.2K 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) -
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)