Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for inetSocketAddress (0.23 sec)

  1. okhttp/src/test/java/okhttp3/SocksProxy.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.ServerSocket
    import java.net.Socket
    import java.net.SocketException
    import java.util.Collections
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        response.body.close()
        val address = client.dns.lookup(server.hostName)[0]
        val expectedAddress = InetSocketAddress(address, server.port)
        val connectStart = listener.removeUpToEvent<ConnectStart>()
        assertThat(connectStart.call).isSameAs(call)
        assertThat(connectStart.inetSocketAddress).isEqualTo(expectedAddress)
        assertThat(connectStart.proxy).isEqualTo(Proxy.NO_PROXY)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  3. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        val latch4 = CountDownLatch(1)
        val listener1: EventListener =
          object : EventListener() {
            override fun connectStart(
              call: Call,
              inetSocketAddress: InetSocketAddress,
              proxy: Proxy,
            ) {
              try {
                // Wait for request2 to guarantee we make 2 separate connections to the server.
                latch1.await()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.hasMessage
    import assertk.assertions.isEqualTo
    import assertk.assertions.isIn
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.UnknownHostException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

    import org.junit.jupiter.api.Assumptions.assumeTrue
    
    object TestUtil {
      @JvmField
      val UNREACHABLE_ADDRESS_IPV4 = InetSocketAddress("198.51.100.1", 8080)
      val UNREACHABLE_ADDRESS_IPV6 = InetSocketAddress("::ffff:198.51.100.1", 8080)
    
      /** See `org.graalvm.nativeimage.ImageInfo`. */
      @JvmStatic val isGraalVmImage = System.getProperty("org.graalvm.nativeimage.imagecode") != null
    
      @JvmStatic
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/api/logging-interceptor.api

    	public fun canceled (Lokhttp3/Call;)V
    	public fun connectEnd (Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;Lokhttp3/Protocol;)V
    	public fun connectFailed (Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;Lokhttp3/Protocol;Ljava/io/IOException;)V
    	public fun connectStart (Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;)V
    	public fun connectionAcquired (Lokhttp3/Call;Lokhttp3/Connection;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.annotation.SuppressLint
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.Socket
    import java.security.GeneralSecurityException
    import java.security.KeyStore
    import java.security.Security
    import java.util.logging.Level
    import java.util.logging.Logger
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

    import android.os.Build
    import android.security.NetworkSecurityPolicy
    import java.io.IOException
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import java.net.InetSocketAddress
    import java.net.Socket
    import java.security.cert.TrustAnchor
    import java.security.cert.X509Certificate
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.X509TrustManager
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

          proxySelector = proxySelector,
        )
      }
    
      fun newRoute(
        address: Address = newAddress(),
        proxy: Proxy = this.proxy,
        socketAddress: InetSocketAddress = InetSocketAddress.createUnresolved(uriHost, uriPort),
      ): Route {
        return Route(
          address = address,
          proxy = proxy,
          socketAddress = socketAddress,
        )
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

            ) = TODO()
    
            override fun connectEnd(
              call: Call,
              inetSocketAddress: InetSocketAddress,
              proxy: Proxy,
              protocol: Protocol?,
            ) = TODO()
    
            override fun connectFailed(
              call: Call,
              inetSocketAddress: InetSocketAddress,
              proxy: Proxy,
              protocol: Protocol?,
              ioe: IOException,
            ) = TODO()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top