Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 110 for InetAddress (0.07 sec)

  1. mockwebserver/api/mockwebserver3.api

    	public final fun setStarted (Z)V
    	public final fun shutdown ()V
    	public final fun start ()V
    	public final fun start (I)V
    	public final fun start (Ljava/net/InetAddress;I)V
    	public static synthetic fun start$default (Lmockwebserver3/MockWebServer;IILjava/lang/Object;)V
    	public final fun takeRequest ()Lmockwebserver3/RecordedRequest;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

    import okhttp3.internal.idn.Punycode
    import okio.Buffer
    
    /**
     * Quick and dirty pattern to differentiate IP addresses from hostnames. This is an approximation
     * of Android's private InetAddress#isNumeric API.
     *
     * This matches IPv6 addresses as a hex string containing at least one colon, and possibly
     * including dots after the first colon. It matches IPv4 addresses as strings containing only
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import java.io.File
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.HttpURLConnection
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.UnknownHostException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.CountDownLatch
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

              throw IllegalArgumentException("useless")
            }
    
            override fun createSocket(
              host: InetAddress,
              port: Int,
            ): Socket? = null
    
            override fun createSocket(
              address: InetAddress,
              port: Int,
              localAddress: InetAddress,
              localPort: Int,
            ): Socket? = null
    
            override fun createSocket(
              host: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        public boolean isEmbedded() {
            return runner != null;
        }
    
        public void usePipeline() {
            usePipeline = true;
        }
    
        protected InetAddress getInetAddressByName(final String host) {
            try {
                return InetAddress.getByName(host);
            } catch (final UnknownHostException e) {
                throw new FessSystemException("Failed to resolve the hostname: " + host, e);
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  6. CHANGELOG.md

        reading the public suffix database would cause subsequent reads to hang when they should have
        crashed.
    
     *  Fix: Avoid `InetAddress.getCanonicalHostName()` in MockWebServer. This avoids problems if the
        host machine's IP address has additional DNS registrations.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * international domain names work everywhere. For example, "σ" encodes as "xn--4xa". The encoded
     * string is not human readable, but can be used with classes like [InetAddress] to establish
     * connections.
     *
     * ## Why another URL model?
     *
     * Java includes both [java.net.URL][URL] and [java.net.URI][URI]. We offer a new URL
     * model to address problems that the others don't.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.CookieManager
    import java.net.CookiePolicy
    import java.net.HttpCookie
    import java.net.HttpURLConnection
    import java.net.InetAddress
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.SocketTimeoutException
    import java.net.UnknownHostException
    import java.net.UnknownServiceException
    import java.time.Duration
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                String address = queryLookup(query, "address");
                if (address != null && address.length() > 0) {
                    byte[] ip = java.net.InetAddress.getByName(address).getAddress();
                    addresses = new UniAddress[1];
                    addresses[0] = new UniAddress(java.net.InetAddress.getByAddress(host, ip));
                    return getNextAddress();
                }
            }
    
            if (host.length() == 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        )
        assertInvalid(
          "http://[::0000:0000:0000:0000::0001]",
          "Invalid URL host: \"[::0000:0000:0000:0000::0001]\"",
        )
      }
    
      @Test
      fun hostIpv6ScopedAddress() {
        // java.net.InetAddress parses scoped addresses. These aren't valid in URLs.
        assertInvalid("http://[::1%2544]", "Invalid URL host: \"[::1%2544]\"")
      }
    
      @Test
      fun hostIpv6AddressTooManyLeadingZeros() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
Back to top