Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for getHostName (0.12 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            return ssn;
        }
        boolean matches( UniAddress address, int port, InetAddress localAddr, int localPort, String hostName ) {
            if (hostName == null)
                hostName = address.getHostName();
            return (this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName)) &&
                        address.equals( this.address ) &&
                        (port == 0 || port == this.port ||
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type2Message.java

                }
            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
            String host = tc.getNameServiceClient().getLocalHost().getHostName();
            if ( host != null ) {
                try {
                    server = host.getBytes(UNI_ENCODING);
                }
                catch ( IOException ex ) {
                    log.debug("Failed to get host bytes", ex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  3. mockwebserver/api/mockwebserver3.api

    	public fun <init> ()V
    	public fun close ()V
    	public final fun enqueue (Lmockwebserver3/MockResponse;)V
    	public final fun getBodyLimit ()J
    	public final fun getDispatcher ()Lmockwebserver3/Dispatcher;
    	public final fun getHostName ()Ljava/lang/String;
    	public final fun getInetSocketAddress ()Ljava/net/InetSocketAddress;
    	public final fun getPort ()I
    	public final fun getProtocolNegotiationEnabled ()Z
    	public final fun getProtocols ()Ljava/util/List;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

            String host = getTargetHost();
            if ( host == null ) {
                host = trans.getRemoteAddress().getHostAddress();
                try {
                    host = trans.getRemoteAddress().getHostName();
                }
                catch ( Exception e ) {
                    log.debug("Failed to resolve host name", e);
                }
            }
    
            if ( log.isDebugEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  5. 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
    }
    
    // Proxy any request to an endpoint.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
    
                String hostname = fessConfig.getMailHostname();
                if (StringUtil.isBlank(hostname)) {
                    hostname = ComponentUtil.getSystemHelper().getHostname();
                }
                dataMap.put("hostname", hostname);
    
                logger.debug("\ninfoMap: {}\ndataMap: {}", infoMap, dataMap);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. 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 (UnknownHostException ex) { }
            DEFAULT_WORKSTATION = defaultWorkstation;
            LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3);
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  8. 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 ( String host ) throws UnknownHostException {
            return getNbtByName(host, 0x00, null);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return langItems;
            }
        }
    
        public void addShutdownHook(final Runnable hook) {
            shutdownHookList.add(hook);
        }
    
        public String getHostname() {
            final Map<String, String> env = getEnvMap();
            if (env.containsKey("COMPUTERNAME")) {
                return env.get("COMPUTERNAME");
            }
            if (env.containsKey("HOSTNAME")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                        type2,
                        null,
                        password,
                        domain,
                        user,
                        this.transportContext.getNameServiceClient().getLocalHost().getHostName(),
                        0);
                }
                return message;
            }
        }
    
    
        private void reconnect () throws IOException {
            int readTimeout = getReadTimeout();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
Back to top