- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for getPort (0.08 sec)
-
src/test/java/jcifs/smb1/smb1/HandlerTest.java
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()); // Non-bracketed non-IPv6 works fine. assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHost()); assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()); // Non-bracketed IPv6 fails. assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
} @Override public OutputStream getOutputStream() throws IOException { return new SocketOutputStream(super.getOutputStream()); } @Override public int getPort() { return super.getPort(); } @Override public InetAddress getLocalAddress() { return super.getLocalAddress(); } @Override public int getLocalPort() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
Handler handler = newHandler(); URL url = new URL(null, "smb://", handler); // Assert assertEquals("smb", url.getProtocol()); assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied for root smb URL"); assertNull(url.getRef(), "Ref should remain null for root URL"); } @Test @DisplayName("parseURL: fragment is moved into path and ref cleared")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K 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) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
} /** * Get the port the service is listening on * * @return the service port * @throws IOException if port cannot be determined */ public int getPort() throws IOException { if (serverSocket == null) { throw new IOException("Service not started"); } return serverSocket.getLocalPort(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K 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) -
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/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)