Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for Address (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

     * explicitly requested), this also includes that proxy information. For secure connections the
     * address also includes the SSL socket factory, hostname verifier, and certificate pinner.
     *
     * HTTP requests that share the same [Address] may also share the same [Connection].
     */
    class Address(
      uriHost: String,
      uriPort: Int,
      /** Returns the service that will be used to resolve IP addresses for hostnames. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

     *  * **IP address:** whether connecting directly to an origin server or a proxy, opening a socket
     *    requires an IP address. The DNS server may return multiple IP addresses to attempt.
     *
     * Each route is a specific selection of these options.
     */
    class Route(
      @get:JvmName("address") val address: Address,
      /**
       * Returns the [Proxy] of this route.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @param hostAddr an RFC 3986 section 3.2.2 encoded IPv4 or IPv6 address
       * @return an InetAddress representing the address in {@code hostAddr}
       * @throws IllegalArgumentException if {@code hostAddr} is not a valid IPv4 address, or IPv6
       *     address surrounded by square brackets, or if the address has a scope ID that fails
       *     validation against the interfaces on the machine (as required by Java's {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param hostAddr an RFC 3986 section 3.2.2 encoded IPv4 or IPv6 address
       * @return an InetAddress representing the address in {@code hostAddr}
       * @throws IllegalArgumentException if {@code hostAddr} is not a valid IPv4 address, or IPv6
       *     address surrounded by square brackets, or if the address has a scope ID that fails
       *     validation against the interfaces on the machine (as required by Java's {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

        val InetSocketAddress.socketHost: String get() {
          // The InetSocketAddress was specified with a string (either a numeric IP or a host name). If
          // it is a name, all IPs for that name should be tried. If it is an IP address, only that IP
          // address should be tried.
          val address = address ?: return hostName
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        }
      }
    
      /** Open connections to [address], if required by the address policy. */
      fun scheduleOpener(address: Address) {
        addressStates[address]?.scheduleOpener()
      }
    
      fun scheduleCloser() {
        cleanupQueue.schedule(cleanupTask)
      }
    
      /**
       * Ensure enough connections open to [address] to satisfy its [ConnectionPool.AddressPolicy].
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          // If we used the ProxySelector, and got a IOException during connect, report the failure.
          if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) {
            route.address.proxySelector.connectFailed(
              route.address.url.toUri(),
              route.proxy.address(),
              e,
            )
          }
          user.connectFailed(route, null, e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        factory.close()
      }
    
      @Test @Disabled
      fun address() {
        val address: Address = factory.newAddress()
        val url: HttpUrl = address.url()
        val dns: Dns = address.dns()
        val socketFactory: SocketFactory = address.socketFactory()
        val proxyAuthenticator: Authenticator = address.proxyAuthenticator()
        val protocols: List<Protocol> = address.protocols()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

      }
    
      private fun assertRoute(
        route: Route,
        address: Address,
        proxy: Proxy,
        socketAddress: InetAddress,
        socketPort: Int,
      ) {
        assertThat(route.address).isEqualTo(address)
        assertThat(route.proxy).isEqualTo(proxy)
        assertThat(route.socketAddress.address).isEqualTo(socketAddress)
        assertThat(route.socketAddress.port).isEqualTo(socketPort)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HostSpecifier.java

       * instead.
       *
       * <p>The specifier must be in one of these formats:
       *
       * <ul>
       *   <li>A domain name, like {@code google.com}
       *   <li>A IPv4 address string, like {@code 127.0.0.1}
       *   <li>An IPv6 address string with or without brackets, like {@code [2001:db8::1]} or {@code
       *       2001:db8::1}
       * </ul>
       *
       * @throws IllegalArgumentException if the specifier is not valid.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top