Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 61 for Sethostname (0.11 sec)

  1. 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 getPort ()I
    	public final fun getProtocolNegotiationEnabled ()Z
    	public final fun getProtocols ()Ljava/util/List;
    	public final fun getProxyAddress ()Ljava/net/Proxy;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
    
        boolean matches(final UniAddress address, final int port, final InetAddress localAddr, final 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. 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)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

                }
            }
            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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportImplTest.java

            when(cfg.getSessionTimeout()).thenReturn(30_000);
            when(cfg.getResponseTimeout()).thenReturn(5_000);
            when(address.getHostAddress()).thenReturn("127.0.0.1");
            when(address.getHostName()).thenReturn("localhost");
    
            // Create the transport with safe defaults (no real sockets)
            transport = new SmbTransportImpl(ctx, address, 445, null, 0, false);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. 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);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. 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);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. 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.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  10. 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();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top