Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for system (0.2 sec)

  1. okhttp/api/okhttp.api

    	public final fun setMaxRequestsPerHost (I)V
    }
    
    public abstract interface class okhttp3/Dns {
    	public static final field Companion Lokhttp3/Dns$Companion;
    	public static final field SYSTEM Lokhttp3/Dns;
    	public abstract fun lookup (Ljava/lang/String;)Ljava/util/List;
    }
    
    public final class okhttp3/Dns$Companion {
    }
    
    public abstract class okhttp3/EventListener {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 5)
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
        val pingAtNanos = System.nanoTime()
        connection.writePingAndAwaitPong()
        val elapsedNanos = System.nanoTime() - pingAtNanos
        assertThat(elapsedNanos).isGreaterThan(0L)
        assertThat(elapsedNanos).isLessThan(TimeUnit.SECONDS.toNanos(1))
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          apply {
            this.taskRunner = taskRunner
          }
    
        /**
         * Sets the DNS service used to lookup IP addresses for hostnames.
         *
         * If unset, the [system-wide default][Dns.SYSTEM] DNS will be used.
         */
        fun dns(dns: Dns) =
          apply {
            if (dns != this.dns) {
              this.routeDatabase = null
            }
            this.dns = dns
          }
    
        /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
     * System.out.println(new URL(attack).getPath());
     * System.out.println(new URI(attack).getPath());
     * System.out.println(HttpUrl.parse(attack).encodedPath());
     * ```
     *
     * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  5. docs/changelogs/changelog_3x.md

        execute more efficiently.
    
        To use it, first register a [Conscrypt dependency][conscrypt_dependency] in
        your build system.
    
        OkHttp will use Conscrypt if you set the `okhttp.platform` system property
        to `conscrypt`.
    
        Alternatively, OkHttp will also use Conscrypt if you install it as your
        preferred security provider. To do so, add the following code to execute
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val call = client.newCall(Request(server.url("/")))
        val executeAtNanos = System.nanoTime()
        assertFailsWith<StreamResetException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "stream was reset: PROTOCOL_ERROR",
          )
        }
        val elapsedUntilFailure = System.nanoTime() - executeAtNanos
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

    import org.junit.jupiter.params.provider.ArgumentsSource
    
    class FileSystemParamProvider : SimpleProvider() {
      override fun arguments() =
        listOf(
          FakeFileSystem().apply { emulateUnix() } to false,
          FileSystem.SYSTEM to TestUtil.windows,
          FakeFileSystem().apply { emulateWindows() } to true,
        )
    }
    
    @Timeout(60)
    @Tag("Slow")
    class DiskLruCacheTest {
      private lateinit var filesystem: FaultyFileSystem
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
Back to top