Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for addTest (0.18 sec)

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

      /** Returns the SSL socket factory, or null if this is not an HTTPS address. */
      @get:JvmName("sslSocketFactory") val sslSocketFactory: SSLSocketFactory?,
      /** Returns the hostname verifier, or null if this is not an HTTPS address. */
      @get:JvmName("hostnameVerifier") val hostnameVerifier: HostnameVerifier?,
      /** Returns this address's certificate pinner, or null if this is not an HTTPS address. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. okhttp/src/main/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
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. docs/features/connections.md

    When you request a URL with OkHttp, here's what it does:
    
     1. It uses the URL and configured OkHttpClient to create an **address**. This address specifies how we'll connect to the webserver.
     2. It attempts to retrieve a connection with that address from the **connection pool**.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        routePlanner.autoGeneratePlans = true
        routePlanner.defaultConnectionIdleAtNanos = expireTime
        val address = routePlanner.address
        val pool = routePlanner.pool
    
        // Connections are created as soon as a policy is set
        setPolicy(pool, address, ConnectionPool.AddressPolicy(2))
        assertThat(pool.connectionCount()).isEqualTo(2)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        dnsResults =
          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 =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  7. dbflute_fess/dfprop/additionalForeignKeyMap.dfprop

    #     }
    #     ; FK_PURCHASE_MEMBER_ID = map:{
    #         ; localTableName  = PURCHASE  ; foreignTableName  = MEMBER
    #     }
    #     ; FK_MEMBER_MEMBER_ADDRESS_VALID = map:{
    #         ; localTableName  = MEMBER    ; foreignTableName  = MEMBER_ADDRESS
    #         ; localColumnName = MEMBER_ID ; foreignColumnName = MEMBER_ID
    #         ; fixedCondition = 
    #          $$foreignAlias$$.VALID_BEGIN_DATE <= /*targetDate(Date)*/null
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Jul 04 22:46:31 GMT 2015
    - 1.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    ): Boolean =
      try {
        this.skipAll(timeout, timeUnit)
      } catch (_: IOException) {
        false
      }
    
    internal fun Socket.peerName(): String {
      val address = remoteSocketAddress
      return if (address is InetSocketAddress) address.hostName else address.toString()
    }
    
    /**
     * Returns true if new reads and writes should be attempted on this.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/InterceptorTest.kt

          MockResponse.Builder()
            .code(500)
            .build(),
        )
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            val address = chain.connection()!!.route().address
            val sameHost = address.url.host
            val differentPort = address.url.port + 1
            chain.proceed(
              chain.request().newBuilder()
                .url("http://$sameHost:$differentPort/")
                .build(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  10. docs/tls/README.md

    # In how many days, counting from today, this certificate will expire.
    expiration_days = 365
    
    # X.509 v3 extensions
    
    # DNS name(s) of the server
    dns_name = "localhost"
    
    # (Optional) Server IP address
    ip_address = "127.0.0.1"
    
    # Whether this certificate will be used for a TLS server
    tls_www_server
    ```
    
    Run `certtool.exe` and specify the configuration file to generate a certificate:
    
    ```
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.4K bytes
    - Viewed (0)
Back to top