Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for forge (0.16 sec)

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

      }
    
      @Test
      fun satisfactionFailure() {
        enableCache()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .cacheControl(CacheControl.FORCE_CACHE)
              .build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(504)
        response.close()
        assertThat(listener.recordedEventTypes())
    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)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        set("a", "a1234", "a1234")
        val a = cache.edit("a")!!
        a.setString(0, "a123")
        cache.maxSize = 8 // Smaller than the sum of active edits!
        cache.flush() // Force trimToSize().
        assertThat(cache.size()).isEqualTo(expectedByteCount)
        assertThat(readFileOrNull(getCleanFile("a", 0))).isEqualTo(afterRemoveFileContents)
    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)
  3. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/CacheControl {
    	public static final field Companion Lokhttp3/CacheControl$Companion;
    	public static final field FORCE_CACHE Lokhttp3/CacheControl;
    	public static final field FORCE_NETWORK Lokhttp3/CacheControl;
    	public final fun -deprecated_immutable ()Z
    	public final fun -deprecated_maxAgeSeconds ()I
    	public final fun -deprecated_maxStaleSeconds ()I
    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