Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for socketAddress (0.04 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * of the request.
       */
      public var dispatcher: Dispatcher = QueueDispatcher()
    
      public val socketAddress: InetSocketAddress
        get() = socketAddress_ ?: error("call start() first")
    
      public val port: Int
        get() = socketAddress.port
    
      public val hostName: String
        get() = socketAddress.address.hostName
    
      /** Returns the address of this server, to connect to it as an HTTP proxy. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       */
      private fun routeMatchesAny(candidates: List<Route>): Boolean =
        candidates.any {
          it.proxy.type() == Proxy.Type.DIRECT &&
            route.proxy.type() == Proxy.Type.DIRECT &&
            route.socketAddress == it.socketAddress
        }
    
      private fun supportsUrl(url: HttpUrl): Boolean {
        assertLockHeld()
    
        val routeUrl = route.address.url
    
        if (url.port != routeUrl.port) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        }
    
        rawSocket.soTimeout = socketReadTimeoutMillis
        try {
          Platform.get().connectSocket(rawSocket, route.socketAddress, socketConnectTimeoutMillis)
        } catch (e: ConnectException) {
          throw ConnectException("Failed to connect to ${route.socketAddress}").apply {
            initCause(e)
          }
        }
    
        // The following try/catch block is a pseudo hacky way to get around a crash on Android 7.0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertFailsWith<IllegalStateException> {
          other.socketAddress
        }
        assertFailsWith<IllegalStateException> {
          other.hostName
        }
        assertFailsWith<IllegalStateException> {
          other.port
        }
        assertFailsWith<IllegalStateException> {
          other.proxyAddress
        }
        other.use {
          other.start()
          assertThat(other.socketAddress).isNotNull()
          assertThat(other.hostName).isNotNull()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

    import java.net.Authenticator;
    import java.net.InetSocketAddress;
    import java.net.PasswordAuthentication;
    import java.net.Proxy;
    import java.net.Proxy.Type;
    import java.net.SocketAddress;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.HashSet;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  6. okhttp/api/jvm/okhttp.api

    	public final fun address ()Lokhttp3/Address;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun proxy ()Ljava/net/Proxy;
    	public final fun requiresTunnel ()Z
    	public final fun socketAddress ()Ljava/net/InetSocketAddress;
    	public fun toString ()Ljava/lang/String;
    }
    
    public final class okhttp3/TlsVersion : java/lang/Enum {
    	public static final field Companion Lokhttp3/TlsVersion$Companion;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  7. okhttp/api/android/okhttp.api

    	public final fun address ()Lokhttp3/Address;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun proxy ()Ljava/net/Proxy;
    	public final fun requiresTunnel ()Z
    	public final fun socketAddress ()Ljava/net/InetSocketAddress;
    	public fun toString ()Ljava/lang/String;
    }
    
    public final class okhttp3/TlsVersion : java/lang/Enum {
    	public static final field Companion Lokhttp3/TlsVersion$Companion;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top