- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for getHostname (0.11 sec)
-
src/test/java/jcifs/AddressTest.java
} @Test @DisplayName("getHostName should return valid hostname or address") void testGetHostNameContract() { // Given String expectedHostName = "server.example.com"; when(mockAddress.getHostName()).thenReturn(expectedHostName); // When String hostName = mockAddress.getHostName(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
* * @return the hostname associated with the address */ @Override public String getHostName() { if (this.addr instanceof NbtAddress) { return ((NbtAddress) this.addr).getHostName(); } return ((InetAddress) this.addr).getHostName(); } /** * Return the IP address as text such as "192.168.1.15". * * @return the ip address
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
} @Test void getHostNameDelegatesToWrappedInetAddress() { InetAddress dummy = mock(InetAddress.class); when(dummy.getHostName()).thenReturn("host.example.com"); UniAddress ua = new UniAddress(dummy); assertEquals("host.example.com", ua.getHostName(), "should forward hostName to underlying InetAddress"); } @Test void getHostAddressDelegatesToWrappedInetAddress() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java
} else { postcard.addTo(fessConfig.getMailFromAddress()); postcard.dryrun(); } postcard.setHostname(systemHelper.getHostname()); postcard.setClustername(ping.getClusterName()); postcard.setClusterstatus(ping.getClusterStatus()); });
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java
return new FormScheme(parameterMap); } return null; } private AuthScope getAuthScope() { if (StringUtil.isBlank(getHostname())) { return AuthScope.ANY; } int p; if (getPort() == null) { p = AuthScope.ANY_PORT; } else { p = getPort(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/Address.java
<T extends Address> T unwrap(Class<T> type); /** * Gets the host name of this address. * * @return the resolved host name, or the host address if it could not be resolved */ String getHostName(); /** * Return the IP address as text such as "192.168.1.15". * * @return the ip address */ String getHostAddress(); /** * Converts this address to an InetAddress.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null); String defaultWorkstation = null; try { defaultWorkstation = NbtAddress.getLocalHost().getHostName(); } catch (final UnknownHostException ex) {} DEFAULT_WORKSTATION = defaultWorkstation; } /** * Creates a Type-1 message using default values from the current * environment.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
* @param tc * context to use */ public Type1Message(final CIFSContext tc) { this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName()); } /** * Creates a Type-1 message with the specified parameters. * * @param tc * context to use * @param flags
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileAuthentication.java
registerModifiedProperty("fileConfigId"); this.fileConfigId = value; } public String getHostname() { checkSpecifiedProperty("hostname"); return convertEmptyToNull(hostname); } public void setHostname(String value) { registerModifiedProperty("hostname"); this.hostname = value; } public String getParameters() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsWebAuthentication.java
registerModifiedProperty("createdTime"); this.createdTime = value; } public String getHostname() { checkSpecifiedProperty("hostname"); return convertEmptyToNull(hostname); } public void setHostname(String value) { registerModifiedProperty("hostname"); this.hostname = value; } public String getParameters() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9K bytes - Viewed (0)