Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for filters (0.14 sec)

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

          assertThat(response.body.string()).isNotEmpty()
        }
        if (!platform.isJdk8()) {
          val connectCount =
            listener.eventSequence.stream()
              .filter { event: CallEvent? -> event is ConnectStart }
              .count()
          assertThat(connectCount).isEqualTo(1)
        }
      }
    
      /** Test which headers are sent unencrypted to the HTTP proxy.  */
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        val response1 = client.newCall(request).execute()
        assertThat(response1.body.string()).isEqualTo("ABC")
        val cacheEntry =
          fileSystem.allPaths.stream()
            .filter { e: Path -> e.name.endsWith(".0") }
            .findFirst()
            .orElseThrow { NoSuchElementException() }
        corruptCertificate(cacheEntry)
        val response2 = client.newCall(request).execute() // Not Cached!
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top