Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Address (2.19 sec)

  1. 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)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

      private val addressA = factory.newAddress("a")
      private val routeA1 = factory.newRoute(addressA)
      private val addressB = factory.newAddress("b")
      private val routeB1 = factory.newRoute(addressB)
      private val addressC = factory.newAddress("c")
      private val routeC1 = factory.newRoute(addressC)
    
      @AfterEach fun tearDown() {
        factory.close()
        peer.close()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

        authType: String,
        socket: Socket?,
      ) = throw CertificateException("Unsupported operation")
    
      private fun Socket.peerName(): String {
        val address = remoteSocketAddress
        return if (address is InetSocketAddress) address.hostName else address.toString()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      fun tearDown() {
        factory.close()
      }
    
      @Test
      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: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

          file.name.endsWith(".png") -> "image/png"
          else -> "text/plain"
        }
    
      private fun Socket.peerName(): String {
        val address = remoteSocketAddress
        return if (address is InetSocketAddress) address.hostName else address.toString()
      }
    
      companion object {
        val logger: Logger = Logger.getLogger(Http2Server::class.java.name)
    
        @JvmStatic
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        // If the non-host fields of the address don't overlap, we're done.
        if (!this.route.address.equalsNonHost(address)) return false
    
        // If the host exactly matches, we're done: this connection can carry the address.
        if (address.url.host ==
          this
            .route()
            .address.url.host
        ) {
          return true // This connection is a perfect match.
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

          listOf(
            localhostIpv4,
            localhostIpv6,
            TestUtil.UNREACHABLE_ADDRESS_IPV4.address,
          )
        serverIpv4.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
        serverIpv6.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
    
        // Yield the first IP address so the second IP address completes first.
        val firstConnectLatch = CountDownLatch(1)
        val socketFactory =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        if (alreadyStartedAddress != null) {
          check(socketAddress.address == alreadyStartedAddress.address) {
            "unexpected address"
          }
          check(socketAddress.port == 0 || socketAddress.port == alreadyStartedAddress.port) {
            "unexpected port"
          }
          return // Already started.
        }
    
        var boundSocketAddress = socketAddress
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

              .build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        response.body.close()
        val address = client.dns.lookup(server!!.hostName)[0]
        val expectedAddress = InetSocketAddress(address, server!!.port)
        val event = listener.removeUpToEvent(ConnectionEvent.ConnectStart::class.java)
        assertThat(event.route.socketAddress).isEqualTo(expectedAddress)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                            if (toAddresses.length > 0) {
                                stream(toAddresses).of(stream -> stream.map(String::trim).forEach(address -> {
                                    postcard.addTo(address);
                                }));
                            } else {
                                postcard.addTo(fessConfig.getMailFromAddress());
                                postcard.dryrun();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top