Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Marche (0.19 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(cache.requestCount()).isEqualTo(1)
        assertThat(cache.networkCount()).isEqualTo(1)
        assertThat(cache.hitCount()).isEqualTo(0)
        val call2 = client.newCall(Request(server.url("/")))
        val response2 = call2.execute()
        assertThat(response2.body.string()).isEqualTo("A")
        assertThat(cache.requestCount()).isEqualTo(2)
        assertThat(cache.networkCount()).isEqualTo(2)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

           <artifactId>okio</artifactId>
           <version>1.8.0</version>
         </dependency>
         ```
    
     *  Fix: Gracefully recover from a failure to rebuild the cache journal.
     *  Fix: Don't corrupt cache entries when a cache entry is evicted while it is
        being updated.
     *  Fix: Make logging more consistent throughout OkHttp.
     *  Fix: Log plaintext bodies only. This uses simple heuristics to differentiate
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        taskFaker.runNextTask()
    
        // The rebuild is retried on cache hits and on cache edits.
        val snapshot = cache["b"]!!
        snapshot.close()
        assertThat(cache.edit("d")).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
        // On cache misses, no retry job is queued.
        assertThat(cache["c"]).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         */
        fun cookieJar(cookieJar: CookieJar) =
          apply {
            this.cookieJar = cookieJar
          }
    
        /** Sets the response cache to be used to read and write cached responses. */
        fun cache(cache: Cache?) =
          apply {
            this.cache = cache
          }
    
        internal fun taskRunner(taskRunner: TaskRunner) =
          apply {
            this.taskRunner = taskRunner
          }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      private fun enableCache(): Cache? {
        cache = makeCache()
        client = client.newBuilder().cache(cache).build()
        return cache
      }
    
      private fun makeCache(): Cache {
        val cacheDir = File.createTempFile("cache-", ".dir")
        cacheDir.delete()
        return Cache(cacheDir, (1024 * 1024).toLong())
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. okhttp/api/okhttp.api

    	public abstract fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request;
    }
    
    public final class okhttp3/Authenticator$Companion {
    }
    
    public final class okhttp3/Cache : java/io/Closeable, java/io/Flushable {
    	public static final field Companion Lokhttp3/Cache$Companion;
    	public final fun -deprecated_directory ()Ljava/io/File;
    	public fun <init> (Ljava/io/File;J)V
    	public fun <init> (Lokio/FileSystem;Lokio/Path;J)V
    	public fun close ()V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top