Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for saveFromResponse (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun disconnectDuringConnect_cookieJar() {
        val callReference = AtomicReference<Call>()
    
        class DisconnectingCookieJar : CookieJar {
          override fun saveFromResponse(
            url: HttpUrl,
            cookies: List<Cookie>,
          ) {}
    
          override fun loadForRequest(url: HttpUrl): List<Cookie> {
            callReference.get().cancel()
            return emptyList()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
Back to Top