- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for getLocalHost (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt
# Side Public License, v 1. @defaultMessage Convert to URI java.net.URL#getPath() java.net.URL#getFile() @defaultMessage Usage of getLocalHost is discouraged java.net.InetAddress#getLocalHost() @defaultMessage Use java.nio.file instead of java.io.File API java.util.jar.JarFile java.util.zip.ZipFile java.io.File java.io.FileInputStream java.io.FileOutputStream
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
addrs[i] = new UniAddress(addr[i]); } return addrs; } /** * {@inheritDoc} * * @see jcifs.NameServiceClient#getLocalHost() */ @Override public NbtAddress getLocalHost() { return this.localhostAddress; } /** * {@inheritDoc} * * @see jcifs.NameServiceClient#getLocalName() */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
src/test/java/jcifs/NameServiceClientTest.java
when(nameServiceClient.getLocalHost()).thenReturn(expectedAddress); // Act NetbiosAddress actualAddress = nameServiceClient.getLocalHost(); // Assert assertNotNull(actualAddress); assertEquals(expectedAddress, actualAddress); verify(nameServiceClient, times(1)).getLocalHost(); } @Test void testGetLocalName() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/jcifs/NetbiosAddress.java
* conditions, users of jCIFS need not be concerned with this class as * name resolution and session services are handled internally by the smb package. * * * * Applications can use the methods <code>getLocalHost</code>, * <code>getByName</code>, and * <code>getAllByAddress</code> to create a new NbtAddress instance. This * class is symmetric with {@link java.net.InetAddress}. * *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/NameServiceClient.java
* * @author mbechler */ public interface NameServiceClient { /** * Gets the local host NetBIOS address. * * @return local host address */ NetbiosAddress getLocalHost(); /** * Gets the local host NetBIOS name. * * @return the local host name */ NetbiosName getLocalName(); /** * Gets the unknown NetBIOS name instance. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
log.debug("Failed to get domain bytes", ex); } } final int domainLength = domain.length; byte[] server = {}; final String host = tc.getNameServiceClient().getLocalHost().getHostName(); if (host != null) { try { server = host.getBytes(UNI_ENCODING); } catch (final IOException ex) { log.debug("Failed to get host bytes", ex);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/Config.java
* Get the local host address based on the provided properties. * * @param props the properties to use for configuration * @return the local host InetAddress */ public static InetAddress getLocalHost(final Properties props) { final String addr = props.getProperty("jcifs.smb.client.laddr"); if (addr != null) { try { return InetAddress.getByName(addr);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/Config.java
} /** * Get the local host address configured for the client. * * @return the configured local InetAddress, or null if not configured */ public static InetAddress getLocalHost() { final String addr = prp.getProperty("jcifs.smb1.smb.client.laddr"); if (addr != null) { try { return InetAddress.getByName(addr);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* conditions, users of jCIFS need not be concerned with this class as * name resolution and session services are handled internally by the smb package. * * * * Applications can use the methods <code>getLocalHost</code>, * <code>getByName</code>, and * <code>getAllByAddress</code> to create a new NbtAddress instance. This * class is symmetric with {@link java.net.InetAddress}. * *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
message = new Type3Message(this.transportContext, type2, null, password, domain, user, this.transportContext.getNameServiceClient().getLocalHost().getHostName(), 0); } return message; } } private void reconnect() throws IOException { final int readTimeout = getReadTimeout();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0)