- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 67 for setHostname (0.07 seconds)
-
src/main/java/org/codelibs/fess/helper/SystemHelper.java
shutdownHookList.add(hook); } /** * Gets the hostname of the local machine. * * @return The hostname. */ public String getHostname() { final Map<String, String> env = getEnvMap(); if (env.containsKey("COMPUTERNAME")) { return env.get("COMPUTERNAME"); } if (env.containsKey("HOSTNAME")) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
*/ protected String getHostInfo() { final StringBuilder buf = new StringBuilder(); try { final InetAddress ia = InetAddress.getLocalHost(); final String hostname = ia.getHostName(); if (StringUtil.isNotBlank(hostname)) { buf.append(hostname); } final String ip = IpAddressUtil.getUrlHost(ia); if (StringUtil.isNotBlank(ip)) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 23K bytes - Click Count (0) -
cmd/handler-utils.go
r.Method, r.URL.Path), HTTPStatusCode: http.StatusBadRequest, }, r.URL) } } // gets host name for current node func getHostName(r *http.Request) (hostName string) { if globalIsDistErasure { hostName = globalLocalNodeName } else { hostName = r.Host } return hostName } // Proxy any request to an endpoint.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java
final String[] toAddresses = form.notificationTo.split(","); final Map<String, Object> dataMap = new HashMap<>(); dataMap.put("hostname", systemHelper.getHostname()); final FessConfig fessConfig = ComponentUtil.getFessConfig(); final Postbox postbox = ComponentUtil.getComponent(Postbox.class); try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 05:54:31 GMT 2026 - 27.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
DEFAULT_PASSWORD = Config.getProperty("jcifs.smb1.smb.client.password", null); String defaultWorkstation = null; try { defaultWorkstation = NbtAddress.getLocalHost().getHostName(); } catch (final UnknownHostException ex) {} DEFAULT_WORKSTATION = defaultWorkstation; LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
@Override public long getCurrentTimeAsLong() { return System.currentTimeMillis(); } @Override public String getHostname() { return "test-host"; } @Override public File createTempFile(String prefix, String suffix) { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
.getSmbTransport(tf, dc, port, false, tf.getConfig().isIpcSigningEnforced()) .unwrap(SmbTransportInternal.class); SmbSessionInternal smbSession = smbTransport.getSmbSession(tf, dc.getHostName(), null).unwrap(SmbSessionInternal.class); SmbTreeInternal tree = smbSession.getSmbTree(tf.getConfig().getLogonShare(), null).unwrap(SmbTreeInternal.class)) { tree.connectLogon(tf); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K 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) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if (this.state == 5 || this.state == 6) { // don't reuse disconnecting/disconnected transports return false; } if (hostName == null) { hostName = addr.getHostName(); } return (this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName)) && addr.equals(this.address) && (prt == 0 || prt == this.port ||
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
response.addressArray[i].hostName.srcHashCode = srcHashCode; } return response.addressArray; } } throw new UnknownHostException(addr.getHostName()); } @Override public NbtAddress getNbtByName(final String host) throws UnknownHostException { return getNbtByName(host, 0x00, null); } @Override
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)